cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Socket options for data socket with active FTP

From: Gokhan Sengun <gokhansengun_at_gmail.com>
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.

Thanks,

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2012-06-25