cURL / Mailing Lists / curl-library / Single Mail


Socket options for data socket with active FTP

From: Jon Solanu <>
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?


List admin:
Received on 2012-06-24