curl-library
Re: Performance and Nagle algorithm
Date: Thu, 27 Mar 2003 12:00:55 -0800 (PST)
> The GET request is sent in one big chunk. POST requests, however, are sent in
> multiple requests (with the headers in the first, and the body in one or more
> sends).
tsk tsk tsk :) If the "body" of the POST is < MSS it really aught to
be sent along with the headers. (I know, I know, volunteers are
always welcome - i'm just not to that part of using libcurl yet for my
bencmark - the harness has to be finished first :)
More generally, if the last chunk of the POST body is < MSS, it should
be sent with the previous chunk (which may be the POST headers).
So long as any one send is larger than MSS (or there is only one send
when < MSS :), the Nagle Algorithm will not be a problem on any stack
where Nagle is implemented correctly.
rick jones
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
Received on 2003-03-27