librelist archives

« back to archive

Proxing Websocket connections?

Proxing Websocket connections?

From:
Alfred Tascon
Date:
2011-09-17 @ 06:09
I was hoping Mongrel2 could.
Am I right to think that it doesnt?

I have tried to use Mongrel2 to proxy to a NodeJS server thats using
Socket.IO (websockets, et al).
but it appears that the browser cannot form a websocket connection through
Mongrel2 to the NodeJS server.

Re: [mongrel2] Proxing Websocket connections?

From:
Jason Miller
Date:
2011-09-22 @ 21:23
On 14:09 Sat 17 Sep     , Alfred Tascon wrote:
>    I was hoping Mongrel2 could.
> 
>    Am I right to think that it doesnt?
> 
That's correct.  There is code for websockets handlers that *might* be
adaptable for proxying websockets, but it would require some changes.
Also it is only compatible with websockets hybi-07 and newer.

-Jason