cURL / Mailing Lists / curl-library / Single Mail

curl-library

Socket options for data socket with active FTP

From: Jon Solanu <jsolanu_at_gmail.com>
Date: Sun, 24 Jun 2012 11:39:09 -0400

I'm performing FTP uploads with libcurl and I'm trying to change the
SO_SNDBUF on the data socket for an active FTP connection, I was able to do
that for passive FTP using the CURL_SOCKOPTFUNCTION, callback but with the
version I'm using that function doesn't get called for the data socket
after accept (as stated in docs).

I am using an older version 7.21 and see a bugfix in 7.24.0 that says "call
opensocket callback properly for active FTP". Is the CURL_SOCKOPTFUNCTION
callback called after that version or is that some different callback?

Thanks,
Jon

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