cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: 5 uploads per second

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 11 Oct 2003 18:06:07 +0200 (CEST)

On Wed, 8 Oct 2003, Peter Stirzel wrote:

> 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)
> {

That switch-off logic needs to be added to the libcurl code to have any
effect, as the socket is only available within libcurl.

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
Received on 2003-10-11