This is a discussion on Re: UDP support in mod_perl2/apache - modperl ; I put out a patchset a few months ago to support UDP in trunk and 2.2.x branches of httpd (for a mod_dns protocol module that we're currently in the process of releasing to the public). The patchset only works for ...
I put out a patchset a few months ago to support UDP in trunk and 2.2.x
branches of httpd (for a mod_dns protocol module that we're currently
in the process of releasing to the public). The patchset only works for
the unix flavor of APR and the prefork MPM at the moment (I'm sure if it
gets adopted we can work out the other MPMs and APR flavors)
You can grab the patchset for trunk at
The same patchset can be used for 2.2.x branch pretty much as is with
the single addition of backporting the apr_socket_sendto function from
trunk (it's broken in the APR that ships with 2.2.x)
If you have any issues applying it/using it/integrating with mod_per
(though I don't think the mod_perl API should need any tweaking to
utilize this), I'd be happy to work with you (or whomever else).
With ApacheCon & the hackathon coming up soon, this would be a great
time to ping dev@httpd for possible inclusion in trunk...
Rolf Banting wrote:
> I'd like to able to transplant a kind of gateway app I have written
> from a POE to mod_perl2. Why? Well mainly so I have an excuse to get
> into mod_perl2 & apache.
> What the app does is accept client requests in a proprietrary protocol
> carried over UDP and translate them either into synchronous CORBA
> calls or asynchronous requests over the proprietrary protocol to an
> external server. In turn server repsonses are then translated and sent
> back to the original client.
> I have scanned the mail archives and found references to some UDP
> based work that different people were doing but I can't see if
> anything got released.
> Did the mod_udp development get into release mode or are there other
> ways to get mod_perl to listen to UDP ?
> Thanks in advance,