You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Yogsothoth GV <yo...@gmail.com> on 2007/09/11 00:21:26 UTC

[users@httpd] UDP support for apache

Hi all,

Can I configure Apache to serve webpages using UDP as transport protocol.

I see some code in srclib/apr/network_io/unix to make UDP

Re: [users@httpd] UDP support for apache

Posted by Issac Goldstand <ma...@beamartyr.net>.
Yogsothoth GV wrote:
> 
> 
> On 9/10/07, *Joshua Slive* <joshua@slive.ca <ma...@slive.ca>> wrote:
> 
> 
> Thanks Joshua. Seems like they don't have support for it.
> 
> -GV
> 

To clarify some issues here:
1) There is *unofficial*, *unmaintained* support for UDP for
unix/prefork systems using the patches submitted on the dev list last
week.  I highly doubt that those patches will make it into an official
release before 2.6 or 3.0, but I've personally used them already, and it
would be great if someone else with a need for UDP gave it a try and
give feedback.  I'd be happy to help you apply and compile (contact me
off-list if you want to take me up on the offer)
2) There are several things which certainly justify the use of HTTP over
UDP.  First being streaming content, as Yogsothoth pointed out.  A
second being protocols other than HTTP (which Apache 2.0 was
intentionally designed to support).  I personally have a DNS protocol
module, which definitely needs UDP to work with clients out-of-the-box
3) Bear in mind that Dragon is still correct in that you need to make
sure that your client supports UDP for this to really be useful; most,
if not all, probably don't (but it's worth looking - it certainly makes
sense for streaming media players to have)

  Issac

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] UDP support for apache

Posted by Yogsothoth GV <yo...@gmail.com>.
On 9/10/07, Joshua Slive <jo...@slive.ca> wrote:
>
> On 9/10/07, Yogsothoth GV <yo...@gmail.com> wrote:
> > Hi all,
> >
> > Can I configure Apache to serve webpages using UDP as transport
> protocol.
> >
> > I see some code in srclib/apr/network_io/unix to make UDP
>
> See this month's archives of the dev@httpd list.
>
> Joshua.


Thanks Joshua. Seems like they don't have support for it.

-GV



---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Re: [users@httpd] UDP support for apache

Posted by Joshua Slive <jo...@slive.ca>.
On 9/10/07, Yogsothoth GV <yo...@gmail.com> wrote:
> Hi all,
>
> Can I configure Apache to serve webpages using UDP as transport protocol.
>
> I see some code in srclib/apr/network_io/unix to make UDP

See this month's archives of the dev@httpd list.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] UDP support for apache

Posted by Dragon <dr...@crimson-dragon.com>.
Yogsothoth GV wrote:
>Hi all,
>
>Can I configure Apache to serve webpages using UDP as transport protocol.
>
>I see some code in srclib/apr/network_io/unix to make UDP
---------------- End original message. ---------------------

I don't know the answer to your question but I suspect it is very 
likely "no". Even though I believe the RFC specifying the HTTP 
protocol does mention that it could be implemented on UDP. AFAIK, all 
practical implementations of HTTP have been over TCP and not UDP.

HTTP could very well work on UDP but all of the browsers I know about 
expect it to function on TCP. So serving it via UDP is pointless if 
you have no client that will accept HTTP over UDP.



Dragon

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org