httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject Re: [patch] perchild MPM bug fixes (+ open problem)
Date Mon, 21 Oct 2002 18:07:53 GMT

> > As long as you are doing all this work, there is one more thought that I
> > have been meaning to implement, but that I never got around to.  Currently
> > perchild doesn't work with SSL, because of when the request is passed off,
> > and how SSL works.  The easy solution to this, is to have the child
> > processes close the sockets for any requests that they cannot
> > handle.  This will also improve the chance that a request won't be passed
> > if you have vhosts with different ports.  Consider the following:
> > 
> > <VHost www.foo.com:80>
> >     AssignChildPerUidGid  rbb rbb
> > </Vhost>
> > 
> > <Vhost www.foo.com:81>
> >     AssignChildPerUidGid  foo foo
> > </VHost>
> > 
> > There is no reason for the foo/foo child process to be listening on port
> > 80.
> > 
> > Just a thought for how to get SSL to work.
> 
> I actually have a patch for this already :) Although I implemented it
> only as an optimization and not because of the issue with SSL. I hadn't
> tried to do SSL yet.
> 
> I'd imagine this SSL limitation will have to be clearly documented since
> it may not be obvious to everyone.

Actually, as long as you have a patch to do this, then SSL should just
work, and no docs should be necessary.   :-)

Ryan

_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
550 Jean St
Oakland CA 94610
-------------------------------------------------------------------------------


Mime
View raw message