A few weeks back I published a post about the awesome new technology that is WebSockets and a great WebSocket wrapper called Socket.IO. The HTML5 WebSocket API provides socket connection support for faster messaging between client and server. Consider WebSocket an optimized AJAX solution. SocketIO provides both server and client side solutions to use WebSocket. WebSocket is a great match for Comet technologies (GChat, Facebook Chat, etc.). Unfortunately it looks as though WebSocket revolution will need to be put on hold.
几周前,我发表了一篇有关令人敬畏的新技术的文章,即WebSockets和一个名为Socket.IO的出色WebSocket包装器。 HTML5 WebSocket API提供套接字连接支持,以便在客户端和服务器之间更快地进行消息传递。 将WebSocket视为经过优化的AJAX解决方案。 SocketIO提供了使用WebSocket的服务器和客户端解决方案。 WebSocket非常适合Comet技术(GChat,Facebook Chat等)。 不幸的是,似乎需要暂停WebSocket革命。
Bug 616733 in Mozilla bug tracker details Mozilla's plans to disable WebSocket in Firefox 4, enabled only by updating a pref setting. A Geolocation-style Firefox prompt was proposed but did not gain support. The reason for disabling WebSocket is a Google report detailing security issues with the current WebSocket protocol. That report is available here. Apple was recently known to be considering disabling WebSocket in Safari as well.
Mozilla错误跟踪程序中的错误616733详细说明了Mozilla计划仅通过更新首选项设置来禁用Firefox 4中的WebSocket的计划。 提出了地理定位样式的Firefox提示,但未获得支持。 停用WebSocket的原因是Google报告,其中详细介绍了当前WebSocket协议的安全性问题。 该报告可在此处获得 。 最近,众所周知,苹果公司也在考虑在Safari中禁用WebSocket。
While WebSocket being disabled is a blow, web security grows increasingly important. Hopefully a new WebSocket protocol draft is soon released so we can unleash the power of WebSocket!
虽然禁用WebSocket是一个打击,但是Web安全性变得越来越重要。 希望即将发布新的WebSocket协议草案,以便我们释放WebSocket的强大功能!