[PATCH] SSL bug and leaks
Date: Tue, 9 May 2006 01:35:18 -0300
The new SSL non-blocking implementation is broken for FTP when doing
more than one transfer in the same connection. The problem is that the
state machine is not reset after a successful connection and the
following one hangs forever. I believe that after a failed connection
the state machine doesn't need to be reset as the whole connection
will be dropped and rebuilt. Correct me if I'm wrong.
Also, the SSL_new and SSL_CTX_new calls were not matched with their
free versions and memory was leaked.
Follows a simple patch that I believe solves both problems.
-- s, Robson It's psychosomatic. You need a lobotomy. I'll get a saw. -- Calvin
- application/octet-stream attachment: curl-ssl.patch