Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
Seems nobody is interested in this issue.
It happens when a non-SSL connection is working in the same thread as a
previous SSL
connection.
Any way, today I found the cause of the problem:
in "close_connection", after free SSL handle, the pointer is not reset to 0:
line4361: if (conn->ssl)
SSL_free(conn->ssl);
here it should be:
if (conn->ssl)
{
SSL_free(conn->ssl);
conn->ssl = 0; /**** RESET the ssl pointer***/
}
Now, the problem is gone.
Original comment by laiyibin2002@hotmail.com
on 30 Nov 2009 at 9:52
Thanks, I had the same problem and your fix solved it.
Original comment by zitrax1...@gmail.com
on 8 Feb 2010 at 5:26
Submitted http://code.google.com/p/mongoose/source/detail?r=511, thanks.
Original comment by valenok
on 2 May 2010 at 11:16
Original issue reported on code.google.com by
laiyibin2002@hotmail.com
on 2 Nov 2009 at 9:08