curl-library
Re: 5 uploads per second
From: Peter Stirzel <peter.stirzel_at_nortelnetworks.com>
Date: Wed, 08 Oct 2003 16:43:45 +0200
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.
Ciao
Peter
[ ... ]
setsockopt(txpo {20}, IPPROTO_TCP, TCP_NODELAY, (char*) &nodelay {1},
sizeof nodelay);
if ( (res=curl_easy_perform(curl)) == CURLE_OK)
{
[ ... ]
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-10-08