Date: Fri, 2 Feb 2001 01:12:45 +0000 From: Tony Finch <dot@dotat.at> To: Alfred Perlstein <bright@wintelcom.net> Cc: David Xu <davidx@viasoft.com.cn>, Kris Kennaway <kris@obsecurity.org>, bsddiy <bsddiy@163.net>, freebsd-net@FreeBSD.ORG Subject: Re: sendfile() Message-ID: <20010202011245.A70673@hand.dotat.at> In-Reply-To: <20010201170214.V26076@fw.wintelcom.net> References: <1217774688.20010201133139@163.net> <20010201023825.A71975@xor.obsecurity.org> <20010201180010.Q70673@hand.dotat.at> <001d01c08cb1$9c445d80$6201a8c0@William> <20010202005018.Y70673@hand.dotat.at> <20010201170214.V26076@fw.wintelcom.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Alfred Perlstein <bright@wintelcom.net> wrote: > >I was going to say the same thing, but what about the header >before a cgi response? Doesn't the webserver need to spit out >a couple of short lines before exec'ing the CGI? No. The first line of the HTTP response ("HTTP/1.1 200 OK" or whatever) depends on the headers that the CGI returns to the server (e.g. "Status: 500 Database screwed again"). >Wouldn't the socket low water mark address this though as long >as it was > size of the http header? Ideally you want it to be the same as the path MTU. I don't know a good way of finding that out in uerland though. There remains the issue of the last partial packet in a response, though: you want that to go out immediately after the rest of the data. Tony. -- f.a.n.finch fanf@covalent.net dot@dotat.at "You realize there's a government directive stating that there is no such thing as a flying saucer?" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010202011245.A70673>