httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Williams <>
Subject Re: UDP support?
Date Mon, 08 Nov 1999 21:05:09 GMT
Ryan, I would be interested in more info.  I haven't looked at the
APR, and I suppose I need to get a pointer to the new development code
base.  I understand the need to add reliability to UDP, and I would be
doing that for my application.  The HTTP/1.1 rfc doesn't require that
HTTP be ran over TCP, just that the transport layer be reliable, so I
was wondering if someone had successfully implemented an alternative
transport layer.

I want to leverage the reliability, portability, 3rd party modules,
cgi interface, TCP transport, etc. that exists in Apache as a basis to
build a new service.   But I also want UDP capability.   

With apache 1.3.9, my concern is that adding UDP support would not be
trival because of the process model where a pool of child processes
are blocking on a call to accept(), the conn_rec, and lower level I/O
routines.  All of which presume a process will only communicate with a
single client over a single TCP connection.  Does 2.0 help any here?


On Mon, 8 Nov 1999, Ryan Bloom wrote:

> I happen to have done some work on getting Apache to use UDP, and I can
> tell you it isn't worth it.  I did the work a few years ago, and what we
> found was that you basically have to re-create TCP to get the kind of
> reliability that is required for a web server.
> Having said that, APR could be used to abstract out the transport layer.
> If you want more info, let me know.
> Ryan

On Tue, 9 Nov 1999, Kevin A. Burton wrote:
> ???
> This isn't defined in the RFC so I would probably say no.
> Why don't you just write your own UDP server?

> On Mon, 8 Nov 1999, David Williams wrote:
> > Is there any work going on in apache 2.0 or 1.3.x to support UDP as a
> > transport layer.  Or support anything other than TCP?
> > 
> > thanks,
> > -david
> > 
> _______________________________________________________________________
> Ryan Bloom
> 4205 S Miami Blvd	
> RTP, NC 27709		It's a beautiful sight to see good dancers 
> 			doing simple steps.  It's a painful sight to
> 			see beginners doing complicated patterns.	

View raw message