3 ms·
> WebSockets are back! I have a feeling that's going to make a lot of people very happy. Good to see that they were able to solve the security issues.
by gchucky 15y ago
> WebSockets are back!
I have a feeling that's going to make a lot of people very happy. Good to see that they were able to solve the security issues.
- JoshTriplett 15y agoServer-sent events seem awesome as well. Open a connection to the server, let it stream you events, and each one generates a Javascript event.
- PedroCandeias 15y agoIt's hard to believe it's 2011 and there's still no standard way of sending data from a server to a browser other than ajax and comet trickery. This sounds like a step in the right direction.
- bobfunk 15y agoAlso seems like server-sent events should be a lot easier to pass through standard load balancers and proxies than web sockets. Very cool...
- robin_reala 15y agoFor what it’s worth, you have to update your client code to instantiate a MozWebSocket and update your server to support the latest protocol. I know, because I’ve done this today :) We’re using the em-websocket gem though which has been updated recently so it really wasn’t that difficult.
- highriseo 15y agoMozilla is supporting a new version of websockets (https://bugzilla.mozilla.org/show_bug.cgi?id=640003 https://bugzilla.mozilla.org/show_bug.cgi?id=640003) that as of a week ago did not work with a lot of popular libraries yet (socket.io). Its awesome to see better security features in place and I hope that library distributors are fast to follow up with changes in their library.