<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 5/4/15 3:46 am, Michael Clark wrote:<br>
</div>
<blockquote cite="mid:55203FB0.3030600@metaparadigm.com" type="cite">
<pre wrap="">
SSL_free(ssl_conn.ssl);
// TODO - crashes on subsequent connections in SSL_do_handshake if we
close the fd.
//
ssl_lib.c::SSL_do_handshake::s->method->ssl_renegotiate_check(s);
// Why? reuse of same fd number for subsequent connection?
// comment the following line and the server works but leaks fds
close(ssl_conn.conn_fd);
</pre>
</blockquote>
<br>
This is what is happening:<br>
<br>
<a class="moz-txt-link-freetext" href="http://i.imgur.com/6R6sg4L.png">http://i.imgur.com/6R6sg4L.png</a><br>
<br>
For some reason s->s3 is NULL and ssl3_renegotiate_check is
called.<br>
<br>
The code (*1) is using
<meta charset="utf-8">
TLSv1_server_method()<br>
<br>
~mc<br>
<br>
[1] <a class="moz-txt-link-freetext" href="https://github.com/michaeljclark/async_tls_test">https://github.com/michaeljclark/async_tls_test</a><br>
</body>
</html>