cvs commit: src/lib/libfetch http.c

Kelly Yancey kbyanc at posi.net
Fri Feb 18 19:26:41 GMT 2005


On Thu, 17 Feb 2005, Colin Percival wrote:

> Kelly Yancey wrote:
> >   Set TCP_NOPUSH on HTTP requests, reducing the number of round-trips
> >   necessary to establish each connection.
>
> Funny, I was talking to murray about this just a couple of days ago.  My
> solution, written with a view towards pipelined http, was to write the
> request into a buffer and then execute a single syscall to send the entire
> request at once; but TCP_NOPUSH is probably a better solution for now.
>
> Colin Percival
>

  Yeah, that would be a better solution long-term as it would apply to
HTTP PUT requests too (currently unimplemented).

  Kelly

--
Kelly Yancey  -  kbyanc@{posi.net,FreeBSD.org}  -  kelly at nttmcl.com


More information about the cvs-src mailing list