PageRenderTime 45ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 1ms

/js/lib/Socket.IO-node/History.md

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs
Markdown | 236 lines | 200 code | 36 blank | 0 comment | 0 complexity | 6d2951783e562df3be64b05b3fc4b613 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, MPL-2.0-no-copyleft-exception, BSD-3-Clause
  1. 0.6.17 / 2011-03-30
  2. ==================
  3. * Fixed the 'possible EventEmitter memory leak detected' bug for the XHR transport
  4. * Reconnection support added to chat example. [3rd-Eden]
  5. 0.6.16 / 2011-03-04
  6. ===================
  7. * Fixed cross domain xhr-polling in Safari [tifroz]
  8. 0.6.15 / 2011-02-23
  9. ===================
  10. * Fixed memory leak in WebSocket transport [belorion]
  11. 0.6.14 / 2011-02-18
  12. ===================
  13. * Fixed logging scope issue [shripad]
  14. 0.6.13 / 2011-02-18
  15. ===================
  16. * Fixed references to listener when logging
  17. 0.6.12 / 2011-02-18
  18. ===================
  19. * Fixed noDelay missing file descriptor problem
  20. 0.6.11 / 2011-02-15
  21. ===================
  22. * Fixed; Make sure to not execute any other connection operations after WebSocket
  23. write error.
  24. * Added more error logging
  25. 0.6.10 / 2011-02-09
  26. ===================
  27. * Added SSL chat example (`make example-ssl`)
  28. * Fixed; possible write errors when a connection error event fires
  29. 0.6.9 / 2011-02-06
  30. ==================
  31. * 0.3 compatibility
  32. * Updated socket.io client to 0.6.2
  33. * Fixed Flash inline policy serving for Firefox 4
  34. * Updated expresso
  35. * Added comments and version number to socket.io/index
  36. 0.6.8 / 2011-01-10
  37. ==================
  38. * Fixed issue with terminating connection twice
  39. 0.6.7 / 2011-01-09
  40. ==================
  41. * Fixed situation where the connection drops but the client can still autoreconnect
  42. through a different socket. In this case we still want to clear the FD but not
  43. call onDisconnect immediately.
  44. 0.6.6 / 2011-01-09
  45. ==================
  46. * Note for Flash socket and inline policy on Firefox
  47. * Destroy the fds on disconnect
  48. * Restored 20 secs of polling so that node doesn't timeout the connections
  49. 0.6.5 / 2011-01-09
  50. ==================
  51. * Make sure not to trigger multiple timeouts when closing
  52. * Important fix for polling transports.
  53. 0.6.4 / 2011-01-05
  54. ==================
  55. * Don't destroy the connection in _onClose. Destroying it will prevent the buffers from being flushed and will result in corrupted responses for the xhr-polling transport.
  56. * Added try/catch block around JSON.parse and return an empty object literal if JSON parsing fails.
  57. * Added missing .connect() to example
  58. 0.6.3 / 2010-12-23
  59. ==================
  60. * Changed polling default duration to 50 seconds
  61. * might > will Adjusted to 85 column limit
  62. * Support for resources that include slashes. Thanks @schamane
  63. * Lazy loading of transports. Thanks @technoweenie Fixed README transports list
  64. * OpenSSL clarifications (thanks @bmnds)
  65. * Support for HAProxy load balancing (thanks Brian McKelvey) Backported Parser from 0.7
  66. * Fixed HTTP API in example (was outdated). Thanks deedubs
  67. * 0.3 compatibility (thanks Arnout)
  68. * `client.broadcast` now 300% faster Cleaned up chat example
  69. * fixed bad pluralization.
  70. * cleaned up grammar, missing punctuation, etc.
  71. * Restored global `netserver` for flashsocket Now supporting `flashPolicyServer` option (thanks Arnout) Tests passing with and without sudo/root user Fixed noDelay/timeout/utf-8 for draft 76 (accidental typo)
  72. * Close the netServer when the main http server closes, this way the event loop does not keep running. NOTE: this is patch for node 0.2.X, this is not required for node 0.3.X
  73. * Fallback to try{}catch handling for node < 0.2.4 , node 0.3.X seems to capture the errors correctly using the error event.
  74. * Added the flash policy server, it's enabled by default but can be turned off if needed. Socket.io will automatically fallback to serving the policy file inline if server is disabled or unable to start up.
  75. * Make sure to only write to open transports (thanks JohnDav)
  76. * _open is still false, so destroy the connection immediately upon websocket error
  77. * Make sure .connection is not null on 'end'
  78. * Proper fix for invalid websocket key
  79. 0.6.1 / 2010-11-08
  80. * Restored flash policy server, but with these changes:
  81. - It's contingent on the listener flashPolicyServer option
  82. - It's started by default if socket.io is started with root access
  83. - It correctly closes the netserver upon all the dependent http servers being closed
  84. - The handler for the inline request is still there regardless. This is important in the following circumstances, and has no performance hit
  85. - The port 843 is filtered
  86. - Flash at some point enables us to skip 843 checking altogether
  87. - Tests compatibility
  88. * Fixed connection timeout, noDelay and socket encoding for draft 76 (had been accidentally moved into the `else` block)
  89. * Some stylistic fixes
  90. 0.6.0 / 2010-11-01
  91. ==================
  92. * Make sure to only write to open transports (thanks JohnDav)
  93. * _open is still false, so destroy the connection immediately upon websocket error
  94. * Make sure to disconnect directly onClose if the client is not handshaked and he can't possibly reconnect
  95. * Make sure to end and destroy connection onDisconnect (for timeouts)
  96. * Added missing .listen() call to example. Fixes #80. Thanks @machee
  97. * Invalid transport test completed
  98. * Initial stab at trying to detect invalid transport responses
  99. * Make sure to provide a default for `log` if no log key was provided (internal)
  100. * Removed unnecessary file extension verification when serving the client
  101. * Removed unnecessary Client check upon connection
  102. * Added support for /socket.io/WebSocketMain.swf
  103. * Added test for /socket.io/WebSocketMain.swf
  104. * Client serving ETag testing
  105. * Added htmlfile transport tests
  106. * Added extra byte to IE iframe bytes padding
  107. * Invalid session id test
  108. * end() before destroy()ing the socket for non-WebSocket or non-valid Upgrade requests
  109. * Added test for non-socket.io requests
  110. * Simplified index.js tests
  111. * Moved listener tests into listener.js
  112. * Make sure to call .end() when listening on connection 'end' event
  113. * Make sure the file descriptor is destroyed on disconnection
  114. * Fix for websocket client tracking test
  115. * Inline (same port) flash socket policy request.
  116. * If the server is not run with root privileges, then the flashsocket
  117. transport will instead listen to all new connections on the main port
  118. for policy requests. Flash policy requests happen to both port 843 and
  119. the destination port:
  120. http://www.lightsphere.com/dev/articles/flash_socket_policy.html
  121. * [websocket test] Fix sending message to client upon connecting
  122. * [websocket test] Fix for connection and handshake test
  123. * [client files serving] Leverage end() write() call
  124. * [client serving] Make sure to not do a useless file lookup when file is cached
  125. * Finished json encoding test
  126. * Look for the heartbeat in the decoded message
  127. * Refactored websocket transports tests to match polling/multipart helpers
  128. * Added coverage testing to Makefile
  129. * Added heartbeat test to multipart
  130. * Added buffered messages test for multipart
  131. * Added assertions for `connected` property for all the tests
  132. * Multipart clients tracking test
  133. * Multipart client>server message sending test
  134. * Make sure to only close the client stream when the roundtrip is complete
  135. * Multipart connection and handshake tests:
  136. - Implemented HTTP client on top of net.Stream with multipart boundary parsing for testing
  137. - Test for connection / server>client message sending
  138. * Removed unnecessary check for this.connection (since we now access the socket through req.connection for all transports)
  139. * Test for `duration` parameter
  140. * Added `make example` to Makefile
  141. * Added clients tracking test for long polling
  142. * Added message buffering test for long polling
  143. * Improve this.request/this.response/this.connection
  144. * Add 'end' listener onConnect, applies to all transports
  145. * Improved error handling onConnect
  146. * Remove legacy `flush` calls
  147. * Removed unnecessary closeTimeout clearing in jsonp polling
  148. * Make sure to close on disconnect if _open = true
  149. * Clear disconnection timeout on disconnection (double check)
  150. * Make sure to clear closeTimeout for polling transports on close.
  151. * Replaced empty with null in log option
  152. * Comma first style for client serving tests
  153. * Long polling integration tests
  154. * Test for heartbeat message
  155. * Added heartbeat timeout test
  156. * Support for listener#log false
  157. * Corrected onConnect signature to support a request and a socket, or a request and a response.
  158. * Removed error checking for non-upgradeable sockets, since they'll be destroyed, and error handling is done onConnect
  159. * Added tests for websocket client tracking
  160. * Added tests for websocket message buffering
  161. * Make sure disconnect timeout is cleared on websocket re-connect
  162. * Updated the flash socket with error detection, and readystate detection.
  163. * This is needed because when a error occures we close down the connection,
  164. * and the stream will become unwriteable.
  165. * Also changed to a single write instead of multiple writes.
  166. * Moved error handling to onConnect to avoid messing with the http.Server global error handlers
  167. * Do special error handling for websocket
  168. * Clearing heartbeat interval upon closing the connection
  169. * Added error listeners, if theses errors are not correcly caught, they will leak memory.
  170. * This caused http://speedo.no.de/ to go up from 1mb per connection after a ECONNECTRESET message
  171. * Added encode=UTF-8 in jsonp-polling.js and xhr-polling.js since UTF-8 is the default encoding for http.ServerResponse.write
  172. * Replaced string.length with Buffer.byteLength in jsonp-polling.js, listener.js and xhr-polling.js because content-length header requires number of bytes and not the number of symbols in string
  173. * Fix COR headers/requests for different ports on Safari.
  174. * Clearing the references to request, response and connection upon disconnect.
  175. * Every require is blocking and requiring the sys module over and over and over again just makes no sense + it hurt performance.. Not to mention.. that it's already included.
  176. * Socket.IO-node now serves the client out of the box for easier implementation
  177. * Memory caching and ETag support for static files
  178. * Tests
  179. * Simplified demo even further thanks to new static file serving
  180. * Failing to pass an origin header would throw an exception and crash the server. Added some handling.
  181. * .connected renamed to ._open, and adopted proper `connected` (fixes #41)
  182. * example/client updated to latest socket.io client
  183. * Better checking of WebSocket connections
  184. * Better handling of SSL location (thanks @jdub)
  185. * Fix for cross-domain websocket (fixes #42)
  186. * Removed clients/clientsIndex and only using the index (fixes #28)
  187. * Fixed WebSocket location header for ws/wss (Thanks @jdub, Fixes #40)
  188. * Cross domain issues with xhr-polling addressed. Thanks Niko Kaiser (@nicokaiser)
  189. * Added origin verification for incoming data.
  190. * Make sure pathname is set (thanks steadicat & swarmation team)
  191. * Fix for accessing routes that being with the namespace but are not a connection attempt. Thanks @steadicat from swarmation
  192. * JSONP-polling support
  193. * Graceful closing of connection for invalid websocket clients
  194. * Make it possible to just require 'socket.io'
  195. * Make sure to abort the connect() method upon bad upgrade / origin verification
  196. * Support for automatic JSON encoding/decoding
  197. * Simplified chat example to take advantage of JSON encoding/decoding
  198. * Removed fs sync call from example
  199. * Better `how to use`
  200. * Make sure to send content-type text/plain to `ok` POST responses