Hi,

I am experiencing the following behavior.
I make a SSL connection and let it reaches a SSL_WANT_WRITE block, and
in stead of letting the library write the date, I close the connection.

No problem so far, but the next time I set up a complete new CTX and
SSL  struct, I will get a "bad write retry" error. Somehow this new SSL
connection still thinks it has to send some data, but the connection is
already gone.

I have closed the connection with a shutdown/close/SSL_free/SSL_CTX_free
but it doesn't help. The new connection still remembers the pending
write block.

I have looked at the source, but I cannot explain this behavior.

Am I doing something wrong or is this standard behavior when someone
messes up a connection this way.

Thanks,

Jeroen.
+-------------------------------------------------------------------------+
| Administrative requests should be sent to [EMAIL PROTECTED] |
| List service provided by Open Software Associates, http://www.osa.com/  |
+-------------------------------------------------------------------------+

Reply via email to