Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jun 2000 12:25:10 +0900
From:      "Daniel C. Sobral" <dcs@newsguy.com>
To:        Alfred Perlstein <alfred@FreeBSD.org>
Cc:        Nate Williams <nate@yogotech.com>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern uipc_socket.c uipc_socket2.c src/sys/sys  socket.h
Message-ID:  <39499E16.9FE731F7@newsguy.com>
References:  <200006151818.LAA31278@freefall.freebsd.org> <200006151845.MAA25472@nomad.yogotech.com> <20000615120807.M18462@fw.wintelcom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Alfred Perlstein wrote:
> 
> * Nate Williams <nate@yogotech.com> [000615 11:46] wrote:
> > > alfred      2000/06/15 11:18:43 PDT
> > >
> > >   Modified files:
> > >     sys/kern             uipc_socket.c uipc_socket2.c
> > >     sys/sys              socket.h
> > >   Log:
> > >   add socketoptions DELAYACCEPT and HTTPACCEPT which will not allow an accept()
> > >   until the incoming connection has either data waiting or what looks like a
> > >   HTTP request header already in the socketbuffer.  This ought to reduce
> > >   the context switch time and overhead for processing requests.
> > >
> > >   The initial idea and code for HTTPACCEPT came from Yahoo engineers and has
> > >   been cleaned up and a more lightweight DELAYACCEPT for non-http servers
> > >   has been added
> > >
> > >   Reviewed by: silence on hackers.
> >
> > Huh?  I never saw this.  I object to adding application specific code
> > inside the kernel.
> 
> It's not really a signifigant amount of code if you look at the
> delta, the performance difference is signifigant though.
> You'll be happy when I release my http server that uses this.

He won't.

HTTP belongs to userland. We should no more add support to HTTP than we
should add support to the dozens of different userland streaming
protocols in existance.

Alas, I pretty much ignored all that hackers discussion on the grounds
that nothing called "kblob" could possibly be important.

-- 
Daniel C. Sobral			(8-DCS)
dcs@newsguy.com
dcs@freebsd.org
capo@the.great.underground.bsdconpiracy.org

		"He is my minion, so he doesn't need a name."



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?39499E16.9FE731F7>