<!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">

<p style="color: #777777;">
<a href="https://gitlab.com/j_ali">J. Ali Harlow</a>
commented on a <a href="https://gitlab.com/gnutls/gnutls/issues/751#note_159501095">discussion</a>:
</p>
<div style="">
<p dir="auto"><a href="https://gitlab.com/rockdaboot" data-user="267665" data-reference-type="user" data-container="body" data-placement="bottom" class="gfm gfm-project_member" title="Tim Rühsen">@rockdaboot</a> No, I'm afraid it still fails. With the extra information you have provided, however, I can see that what is happening is that do_handshake() is calling set_read_funcs() which is setting the push function to system_write() thus socket_open2()'s call to gnutls_transport_set_push_function() is not effective. It's interesting to note that the implementation of gnutls_transport_set_push_function() and gnutls_transport_set_vec_push_function() appear to suggest that only one of these two functions should need to be called.</p>
<p dir="auto">To be clear, by the time gnutls_handshake() is called, session->internals->push_func is set to system_write and session->internals->vec_push_func is NULL.</p>
</div>


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

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/issues/751#note_159501095">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/f25ed5045da0f3b897ed9226c1300e3d/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/751#note_159501095"}}</script>

</p>
</div>
</body>
</html>