cURL / Mailing Lists / curl-library / Single Mail


Re: Socket options for data socket with active FTP

From: Daniel Stenberg <>
Date: Fri, 17 Aug 2012 22:50:38 +0200 (CEST)

On Mon, 25 Jun 2012, Gokhan Sengun wrote:

> I introduced a bug while providing the functionality. My first patch breaks
> Curl_closesocket function. sock_accepted flag for the second socket should
> be tagged as TRUE before the sockopt callback is called because in case the
> callback returns an error, Curl_closesocket function is going to call the -
> fclosesocket - callback for the accept()ed socket.
> I am attaching both patches.

Your work have been merged and pushed now, thanks!

List admin:
Received on 2012-08-17