cURL / Mailing Lists / curl-library / Single Mail


Re: Socket options for data socket with active FTP

From: Gokhan Sengun <>
Date: Mon, 25 Jun 2012 01:51:08 +0300

> "replacement for accept()" sounds like a good idea but in the second
> thought, I do not find any use case in which an application would need to
> implement this callback. On the other hand, applications may need to set
> socket options before data transfer kicks off. I am going to prepare a
> patch for CURL_SOCKOPTFUNCTION after accept() gets called and returned
> success.
Attached is the patch providing the functionality.


List admin:

Received on 2012-06-25