cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

[PATCH] SSL bug and leaks

From: Robson Braga Araujo <robsonbraga_at_gmail.com>
Date: Tue, 9 May 2006 01:35:18 -0300

Hi,

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

Received on 2006-05-09

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET