W3C home > Mailing lists > Public > ietf-http-wg-old@w3.org > May to August 1999

Re: Upgrading to TLS Within HTTP/1.1 draft available

From: Robert S. Thau <rst@ai.mit.edu>
Date: Tue, 29 Jun 1999 21:29:18 -0400 (EDT)
Message-Id: <199906300129.VAA14678@beet-chex.ai.mit.edu>
To: Ben Laurie <ben@algroup.co.uk>
Cc: John Stracke <francis@ecal.com>, "Http-Wg@Hplb. Hpl. Hp. Com" <http-wg@hplb.hpl.hp.com>
Ben Laurie writes:
 > It is possible, but not particularly efficient or portable. ISTR one of
 > the very first things Apache did was to get rid of that nonsense.

More precisely, Apache chose not to adopt it.  NCSA 1.4 used an
fd-passing scheme in order to handle accepts on its persistent child
processes; the parent server accepted connections, and then fd-passed
them to the children.  When we were trying to figure out what to do
about producing a non-fork-per-request version of Apache, Rob Hartill
did some experiments which pretty quickly showed that a simpler
approach could yield results at least as good.  

If you really need fd-passing behavior, there's sample code in one of
Stevens' books ("Advanced Programming in the Unix Environment"), but
it's messy; IIRC, there are multiple variants to deal with the
variety of interfaces in different Unix variants.  

Received on Wednesday, 30 June 1999 02:32:15 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:16:33 UTC