<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>


<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<div>
<blockquote dir="auto">
<p>I don't understand at all. If <code>gnutls_record_recv()</code> is interrupted, then the documentation says I have to call <code>gnutls_record_get_direction()</code>. (Which we cannot do in glib-networking, but let's pretend.) Then what am I supposed to do with the result of <code>gnutls_record_get_direction()</code> before calling <code>gnutls_record_recv()</code> again?</p>
</blockquote>
<p dir="auto">That's to assist in selecting the flags for poll or select, or whichever way you'll figure that the channel is open for the direction it is expected. That is, indeed you'll call it again, but it tries to say when that should be.</p>
<p dir="auto">Nice catch about the threaded case. Would you like to propose an update on that text?</p>
</div>


</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777777;">

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/issues/615#note_118002292">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/sent_notifications/d54e90fe0bb76c72dcb90f4f2829969f/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/gnutls/issues/615#note_118002292"}}</script>
</p>
</div>
</body>
</html>