Socket.IO 1.2.1 發布

jopen 10年前發布 | 11K 次閱讀 Socket.IO

socket-io_xd7ky.gif

Socket.IO 1.2.1 發布,此版本包括非常重要的 bug 修復,改進了 CDN 的 DNS 服務的可靠性(導致在 2014 年 11 月 5 日有一次短暫的停機)。

改進記錄

服務器

  • Bumped engine.io to include a fix for leaks in the ws WebSocket Server. Thanks @3rd-Eden for his ws patch.

  • Prevent a crash that arises from a socket.io-protocol violation. Sending a null engine.io message packet would throw an exception, which wasn’t being translated into an error event.

  • Propagate all error events from the underlying transport to the open Socket objects.

  • Minor cosmetic fixes.

客戶端

  • README fixes to prevent double events in the example upon reconnection [@nkzawa]

  • Fix subsequent reconnections after reconnecting manually [@nkzawa]

  • Make ACK event callbacks callable multiple times without side-effects [@thexeos]

  • Bumped uglify-js [@superlukas]

通過 CDN Grab 新的客戶端:

<script src="https://cdn.socket.io/socket.io-1.2.1.js"></script>

更多內容請看發行說明

Socket.IO 實現了實時雙向的基于事件的通訊機制。旨在讓各種瀏覽器與移動設備上實現實時app功能,模糊化各種傳輸機制。

Socket.IO 是跨平臺,多種連接方式自動切換,做即時通訊方面的開發很方便,而且能和expressjs提供的傳統請求方式很好的結合,即可以 在同一個域名,同一個端口提供兩種連接方式:request/response, websocket(flashsocket,ajax…).

133515_6pdb_89964.png

來自:http://www.oschina.net/news/57302/socket-io-1-2-1

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!