1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 Socket.IO 1.3.0 发布 下载

本帖由 漂亮的石头2015-01-20 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    486,020
    赞:
    46
    Socket.IO 1.3.0 发布,此版本改进内容如下:


    服务器

    Socket.IO 1.3.0 包括大量的 bug 修复,稳定性和性能提升,可以使用自定义 SSl 和重连接补偿参数配置客户端。



    • Fix tests on Node v0.11 (dba462) [rauchg]


    • Fixed socket.io test runs on windows (19c442) [rauchg]


    • null and undefined origins trigger the origins callback properly with origin value * (GH#1936) [drewblaisdell]


    • Updated debug version to 2.1.0 (GH#1926) [coderaiser]


    • Fixed typo in socket.io README (GH#1922) [smart--petea]


    • Fixed a typo in an error message (GH#1943) [eychu]


    • Added test for reconnection after server restarts (GH#1939) [rase-]


    • Updated year range in licence (GH#1938) [fay-jai]


    • Added tests to better ensure that volatile emits work as intended (GH#1903) [rase-]


    • Fixed socket.leave when leaving an unknown room (ca82c0) [defunctzombie]


    • Added tests for SSL certificate options in Node clients (GH#290) [rase-]


    • Fixed broken engine.io build due to invalid deps (GH#296) [rase-]


    • Correctly abort the ongoing data request when closing transport (GH#297) [lpinca]

    客户端


    • Use faster, new Travis build env(GH#785) [joshk]


    • Reconnection fixes and improvements (GH#788) [mokesmokes]


    • Fix travis env for running browser tests on PRs [rauchg]


    • Fix url parsing when uri string is undefined (GH#797) [defunctzombie]


    • The socket object now has an id property pointing to the underlying engine.io socket.id (GH#799) [rase-]


    • Only call xhr.abort() on error cases when polling (GH#319) [samcday]


    • Added SSL options or Node clients (GH#356) [rase-]


    • Fixed browser tests on travis for engine.io-client [rauchg]


    • Fix default port detection when host is specified (GH#366) [defunctzombie]


    • Fix test runs on some IE browsers that fire too many open connections (GH#368) [rase-]

    解析器


    • Greatly improved engine.io-parser documentation [grant]


    • Encoding payloads to binary only if the buffer contains binary (GH#37) [rase-]


    • Fixed parse error caused by the server encoding to strings if binary supported (GH#41) [rase-]


    • Use travis matrix for better browser test runs (GH#38) [rase-]


    • Allow sending binary in from old browsers as base64 (GH#36) [cvlchinet]

    socket.io-redis


    • Fixed room memory leak by bumping socket.io-adapter version (GH#42) [barisusakli]


    • Fixed broken link in README (GH#35) [hannesvdvreken]

    socket.io-adapter


    • Fix confusing comment in add (GH#21) [marcooliveira]


    • Call the callback on delAll (GH#20) [marcooliveira]

    可以从 CDN grab 客户端:

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


    Socket.IO 实现了实时双向的基于事件的通讯机制。旨在让各种浏览器与移动设备上实现实时app功能,模糊化各种传输机制。

    Socket.IO 是跨平台,多种连接方式自动切换,做即时通讯方面的开发很方便,而且能和expressjs提供的传统请求方式很好的结合,即可以 在同一个域名,同一个端口提供两种连接方式:request/response, websocket(flashsocket,ajax…).

    [​IMG]
    Socket.IO 1.3.0 发布下载地址
     
正在加载...