cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Socket options for data socket with active FTP

From: Daniel Stenberg <daniel_at_haxx.se>
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!

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-08-17