From owner-cvs-all Thu Jun 15 11:45:21 2000 Delivered-To: cvs-all@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 9B71B37B8CF; Thu, 15 Jun 2000 11:45:11 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id MAA29284; Thu, 15 Jun 2000 12:45:09 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id MAA25472; Thu, 15 Jun 2000 12:45:08 -0600 (MDT) (envelope-from nate) Date: Thu, 15 Jun 2000 12:45:08 -0600 (MDT) Message-Id: <200006151845.MAA25472@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Alfred Perlstein Cc: 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 In-Reply-To: <200006151818.LAA31278@freefall.freebsd.org> References: <200006151818.LAA31278@freefall.freebsd.org> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message