Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jun 2000 10:21:31 -0700 (PDT)
From:      John Baldwin <jhb@freebsd.org>
To:        Dag-Erling Smorgrav <des@flood.ping.uio.no>
Cc:        cvs-committers@freebsd.org, cvs-all@freebsd.org, Alfred Perlstein <alfred@freebsd.org>
Subject:   Re: cvs commit: src/sys/conf files options src/sys/i386/conf NOT
Message-ID:  <200006281721.KAA03683@john.baldwin.cx>
In-Reply-To: <xzpvgytwz1u.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help

On 28-Jun-00 Dag-Erling Smorgrav wrote:
> Alfred Perlstein <alfred@FreeBSD.ORG> writes:
>> * John Baldwin <jhb@FreeBSD.ORG> [000628 01:11] wrote:
>> > On 27-Jun-00 Alfred Perlstein wrote:
>> > > * Dag-Erling Smorgrav <des@flood.ping.uio.no> [000627 04:43] wrote:
>> > >> Alfred Perlstein <alfred@FreeBSD.org> writes:
>> > >> >   two accept filters are provided, one that returns sockets when data
>> > >> >   arrives the other when an http request is completed (doesn't work
>> > >> >   with 0.9 requests)
>> > >> ...which means it doesn't work except as proof of concept.
>> > > Show me a browser that only issues 0.9 requests and I'll show you
>> > > a browser that wouldn't grok the html on my page even if it did
>> > > respond to 0.9.
>> > For one thing, if I manually telnet to a host, I'm much more likely
>> > to use a 0.9 request than a 1.0 one [...]
>> Which won't work when there's vhosting going on.
> 
> I know. But in any case, you didn't specify *how* HTTPACCEPT fails to
> work with HTTP 0.9. If it wakes the process up too early, no problem
> (you're no worse off than without HTTPACCETPT). But if it never wakes
> up the process (because it keeps waiting for more header lines),
> that's not acceptable.

It waits for a full HTTP/1.0 header, i.e. one including a blank line.
Thus, it won't ever return the socket as ready if a server uses a 0.9
request..

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006281721.KAA03683>