httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <tevans...@googlemail.com>
Subject Re: [users@httpd] Issue with mod_proxy ProxyPass balancer and web sockets
Date Tue, 21 Dec 2010 17:25:10 GMT
On Tue, Dec 21, 2010 at 2:17 PM, Oscar Cassetti
<oscar.getstring@gmail.com> wrote:
> Do you think that would be too hard to extend mod_proxy_http in order
> to support them?
> Or would it be more sensible to look at some other module or
> application that support websocktes?
>

Wikipedia says* this about websockets and proxies:

"""
Some proxy servers are harmless and work fine with WebSocket; others
will prevent WebSocket from working correctly, causing the connection
to fail. In some cases additional proxy server configuration may be
required, and certain proxy servers may need to be upgraded to support
WebSocket.
If unencrypted WebSocket traffic flows through an explicit or a
transparent proxy server on its way to the WebSocket server, then,
whether or not the proxy server behaves as it should, the connection
is almost certainly bound to fail today
"""

Websockets are not HTTP, they only handshake over HTTP, so I doubt
mod_proxy_http would be able to support these bi-directional, long
living sockets. Probably would require a new proxy module.

Cheers

Tom

* ok, so not an authoritative source

---------------------------------------------------------------------
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


Mime
View raw message