From owner-freebsd-stable Sat Jul 29 20:28:52 2000 Delivered-To: freebsd-stable@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 9A5FD37B58C for ; Sat, 29 Jul 2000 20:28:47 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e6U3Sgv25162; Sat, 29 Jul 2000 20:28:42 -0700 (PDT) Date: Sat, 29 Jul 2000 20:28:41 -0700 From: Alfred Perlstein To: Tony Finch Cc: Paul Saab , new-httpd@apache.org, freebsd-stable@FreeBSD.ORG, ym g Subject: Re: Zen regarding accept filters Message-ID: <20000729202841.O21967@fw.wintelcom.net> References: <20000729130953.10802.qmail@graffiti.net> <20000729104309.D21967@fw.wintelcom.net> <20000730023025.B1386@hand.dotat.at> <20000729200603.A15316@elvis.mu.org> <20000730032146.C1386@hand.dotat.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <20000730032146.C1386@hand.dotat.at>; from dot@dotat.at on Sun, Jul 30, 2000 at 03:21:46AM +0000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Tony Finch [000729 20:22] wrote: > Paul Saab wrote: > > > >This should also incorporate a check for __FreeBSD_version >= 410001. > > I would have thought the check for the existence of SO_ACCEPTFILTER is > sufficient. > > >Also, the fact that it breaks HTTP/0.9 isn't really a big deal if you > >are going to enable this feature. > > Yes, but it does mean that it cannot be enabled by default (since > Apache must be standards-compliant), which is a bit bogus. However you > can use the "dataready" filter and get most of the benefit of the > "httpready" filter without breaking HTTP/0.9. There are a few user > agents that send request headers in more than one packet (e.g. > Netscape when it's sending a POST) but it isn't very common. It's been discussed before, the main culprits are sessions with large sized cookies along with very large GET requests which can force 4-6 context switches without the filters. And there are reported sightings of browsers sending data one character at a time. :( -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message