httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: [PATCH] UDP support
Date Wed, 14 Aug 2002 23:21:26 GMT
On Wed, 14 Aug 2002, Ian Holsman wrote:

> Ryan Bloom wrote:
> > I don't believe that this should be incorporated into the core
> > server.  The core of Apache is an HTTP server, which means that it should
> > only know how to listen on TCP sockets.  The support is there however, for
> > other socket types to be added to the server.  For the UDP case, your
> > protocol module should implement it's own listen directive, to allow
> > people to add UDP sockets for your protocol module.  Then, the protocol
> > module can set the accept_function pointer in the listen_rec, which in
> > this case should be set to unixd_udp_connect.  Now, when the server
> > returns from apr_poll, it will automatically call the correct function for
> > the current socket type. 
> > 
> I think we should get the patches that affect APR in the codebase as 
> currently I don't think we can create a udp socket properly, and then we 
> can discuss how http should listen on a UDP port.
> ryan.. are you happy with the changes to APR that this patch provides?

Definately not in favor of the bucket changes.  A UDP bucket should have
it's own bucket type IMHO.  As for the APR-proper changes, I need to look
at them in more detail before I can give an educated opinion.


Ryan Bloom               
550 Jean St
Oakland CA 94610

View raw message