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