<!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 style="">
<p dir="auto"><a href="https://gitlab.com/airtower-luna" data-user="2904500" data-reference-type="user" data-container="body" data-placement="bottom" class="gfm gfm-project_member" title="Airtower">@airtower-luna</a> the retrying comes from the gnutls. the problem was that the pull function was returning always -1 and EAGAIN because, by mistake, it was not clear to me how to pass data to the library so no data was passed. really is not clear from the docs. and i could not find official example... :S :(</p>
<p dir="auto"><a href="https://gitlab.com/vcunat" data-user="355984" data-reference-type="user" data-container="body" data-placement="bottom" class="gfm gfm-project_member" title="Vladimír Čunát">@vcunat</a> that's a nice example. thank you for it. i wish i could have spotted it earlier.</p>
<p dir="auto">now I got handshake working. what is not nice is that i have to keep state for the handshake process in my application which i expected to be transparent (as in openssl). am i missing something here or is really like that? Same question for shutdown/bye?</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/673#note_137411060">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/a67aa872579d43d550b5511813179672/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/673#note_137411060"}}</script>
</p>
</div>
</body>
</html>