httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: beta?
Date Mon, 05 Feb 2001 10:55:00 GMT
David Williams wrote:
> > >  So that a
> > > given server process (e.g. child_main() in prefork.c) could handle multiple
> > > protocols, which could all be sent to the same port if desired.
> >
> > How would it know which one to handle, then?
> 
> It has been a while since I looked at this part of the code, and I suspect there is not
enough coordination between the potential
> callouts that hooked into ap_run_process_connection().  But I had gotten the idea that
in theory, each callout could look at the
> incoming request (raw PDU) and determine if it knew how to handle it.   Returning DECLINED
until the right protocol handler was
> found.   Basically laying the foundation for apache to become a server of many protocols,
through a universal addr/port. ;-)
> 
> I agree that different protocols would normally use separate ports, but prehaps there
are issues getting through a firewall.
> Instead of being data sensitive, I suppose each process_connection callout is expected
to look at the fd/port used and DECLINE based
> on that.

Exactly.

Cheers,

Ben.

--
http://www.apache-ssl.org/ben.html

"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit." - Robert Woodruff

Mime
View raw message