wss support

69 views
Skip to first unread message

John Smith

unread,
Oct 12, 2012, 8:08:00 AM10/12/12
to zer...@googlegroups.com
Hi.
Is there secure websocket protocol available in zerogw?
while "new WebSocket('ws://127.0.0.1:8000/ws')" works, the same address with 'wss' prefix fails, there is no 'connect' event on server side.
I am using Chromium 20 as client.

Paul Colomiets

unread,
Oct 12, 2012, 2:57:00 PM10/12/12
to zer...@googlegroups.com
Hi John,
It's not supported at the moment.

It will be implemented at some point in the future, but no ETA yet.
Pull requests are welcome.

Do you have a fully https application, or is there any other reason
you need 'wss' ?

--
Paul
Message has been deleted

Paul Colomiets

unread,
Dec 28, 2012, 1:57:32 PM12/28/12
to zer...@googlegroups.com
Hi Eric,

On Fri, Dec 28, 2012 at 8:24 AM, Eric Mill <konk...@gmail.com> wrote:
> I just did a WebSockets project which used wss:// to get higher connection
> success rates. Switching away from port 80 helps a lot of networks let
> WebSockets through that otherwise wouldn't.
>
> Some stats collected over two 1-day periods from a reasonably well
> trafficked site:
> https://gist.github.com/4247942
>

Thanks for statistics. It seems to be a very good reason to start
hacking SSL this Christmas :)

It's not clear why https (xhr-polling) works better for iOS than http.
Any thoughts?

Note also that if you use SSL termination software or hardware, you
don't need any support in zerogw.

--
Paul
Reply all
Reply to author
Forward
0 new messages