cvs commit: src/lib/libfetch http.c

Colin Percival cperciva at freebsd.org
Thu Feb 17 21:11:39 GMT 2005


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



More information about the cvs-src mailing list