cURL / Mailing Lists / curl-library / Single Mail


Re: 5 uploads per second

From: Peter Stirzel <>
Date: Wed, 08 Oct 2003 16:43:45 +0200

Thanks all for the help

'My' FTP server requires PASV, so PORT will not help.
I am trying out the "nagle hint" and I set TCP_NODELAY to TRUE
just before easy_perform.

No performance gain with this change :-(
But to be honest I just don't know if this is the right place to
invoke setsockopt and if something magic is missing
to switch off nagle.


[ ... ]
 setsockopt(txpo {20}, IPPROTO_TCP, TCP_NODELAY, (char*) &nodelay {1},
sizeof nodelay);

if ( (res=curl_easy_perform(curl)) == CURLE_OK)
[ ... ]

This email is sponsored by:ThinkGeek
Welcome to geek heaven.
Received on 2003-10-08