John Chadwick
9ad1fd2771
Remove process.EventEmitter usage for Node 7.x
...
process.EventEmitter has been deprecated and removed from Node.
2017-05-07 07:50:00 +02:00
Adam Patacchiola
386d2a9c0c
don't call non existant transport onDisconnect
2013-12-13 10:02:20 -07:00
Adam Patacchiola
8b47789414
use static channels for remote syncing instead of subscribing/unsubscribing 5 channels for every connection
2013-12-13 07:22:43 -07:00
Guillermo Rauch
47b06c0fcf
Merge pull request #1333 from yujiosaka/0.9
...
http-polling : adding 'X-XSS-Protection : 0;' to headers necessary not o...
2013-12-09 08:17:42 -08:00
Karl Düüna
a47d76b990
Use destroy buffer size on websocket transport method as well
2013-11-15 10:31:00 +02:00
yujiosaka
db3ac4b415
http-polling : adding 'X-XSS-Protection : 0;' to headers necessary not only to jsonp-polling but http-polling
2013-10-24 14:53:19 +09:00
tico8
b4182a5d42
Memory leak : If a lot of connections continue being disconnected, a memory will leak.
2013-10-09 01:06:02 +09:00
Guillermo Rauch
5120a706f2
Release 0.9.16
2013-06-06 08:39:48 -07:00
Guillermo Rauch
ee078cb124
transports: added tests for htmlfile escaping/unescaping
2013-06-06 08:38:57 -07:00
Guillermo Rauch
64d8f572aa
Release 0.9.15
2013-06-06 08:22:29 -07:00
Guillermo Rauch
4e1ba9f872
transports: escaping ( fixes #1251 )
2013-06-06 08:17:40 -07:00
Guillermo Rauch
6e25c802cc
manager: fix memory leak with SSL
2013-03-29 14:14:42 -07:00
Guillermo Rauch
0d3313f536
manager: fix for latest node which is returning a clone with listeners [viirya]
2012-12-13 08:18:42 -03:00
Guillermo Rauch
3b7224c7e0
Release 0.9.11
2012-11-02 08:03:15 -07:00
Guillermo Rauch
de9e8dffe1
Release 0.9.10
2012-08-10 13:34:50 -07:00
Rusty Burchfield
12beee2d63
Don't lowercase log messages
...
Lowercasing log messages is unnecessary. It makes some messages difficult to
read, and others difficult to search for.
2012-08-08 11:32:57 -07:00
Guillermo Rauch
875f14d16b
Revert "Fix infinite recursion in Websocket parsers."
...
This reverts commit c218468f67 .
2012-08-07 13:18:41 -07:00
Rusty Burchfield
c218468f67
Fix infinite recursion in Websocket parsers.
...
If a client is feeding messages faster than server can handle them, infinite
recursion occurs. Basically, the "overflow" data gets added to the parser and
it immediately parses a new message.
The fix pushes the processing of the next message (in this edge case) onto the
event queue. This prevents the stack from recursing indefinitely. This also
prevents a fast client from starving other clients.
2012-08-06 13:03:51 -07:00
Guillermo Rauch
4164e3bd7e
Merge pull request #981 from doozr/honour-flash-settings
...
Honour flash settings
2012-08-06 08:59:17 -07:00
Craig Andrews
d723d363b2
Always set the HTTP response in case an error should be returned to the client
2012-08-06 14:16:06 +01:00
Craig Andrews
fa1c1b2ada
Create or destroy the flash policy server on configuration change
2012-08-06 14:14:15 +01:00
Craig Andrews
d32a848c3f
Honour configuration to disable flash policy server
2012-08-06 14:14:14 +01:00
Guillermo Rauch
48ad0d3d1d
Release 0.9.9
2012-08-01 15:14:02 -07:00
Guillermo Rauch
281a467960
manager: added response to sync disconnect xhrs
2012-08-01 15:08:06 -07:00
Guillermo Rauch
1fa74a46a3
Revert "Fix disconnectSync getting ignored"
...
This reverts commit f48b40e134 .
2012-08-01 11:58:28 -07:00
Guillermo Rauch
ca4e3f32a3
Merge pull request #975 from huancz/master
...
fix issue #961 - restore compatibility with earlier node releases (up to 0.4.x)
2012-07-31 08:34:22 -07:00
Marco Aurélio
6afbb34581
Add warning to .listen() to ease the migration to Express 3.x
2012-07-30 15:43:00 -03:00
Petr Běhan
a5c5c20438
restore compatibility with node 0.4.x
2012-07-27 15:38:57 +02:00
Brian Gruber
f48b40e134
Fix disconnectSync getting ignored
...
If using xhr-polling and a browser closes a tab or window, the
disconnectSync in the socket.io-client method is called which sends an
XHR request to the server indicating a disconnect. This line would cause
that to be ignored and so the server would have to wait for a timeout to
mark them as disconnect. This was possibly because it was sent from a
different tcp socket than the current connection.
2012-07-26 21:19:00 -05:00
Guillermo Rauch
1679fd564c
Release 0.9.8
2012-07-24 17:36:30 -07:00
xaroth8088
7a087bcc94
Prevent crash when socket leaves a room twice.
2012-07-22 11:09:06 -07:00
xaroth8088
aeb904f58b
Corrects unsafe usage of for..in, permitting socket.io to be used in environments where Object, Function, etc. have been extended.
...
http://yuiblog.com/blog/2006/09/26/for-in-intrigue/
2012-07-21 11:30:15 -07:00
xaroth8088
9c0b9de7f0
Revert "Corrects unsafe usage of for..in, permitting socket.io to be used in environments that extend Object, etc."
...
This reverts commit 81552c11ca .
2012-07-21 11:21:11 -07:00
xaroth8088
81552c11ca
Corrects unsafe usage of for..in, permitting socket.io to be used in environments that extend Object, etc.
...
http://yuiblog.com/blog/2006/09/26/for-in-intrigue/
2012-07-21 10:29:20 -07:00
Guillermo Rauch
e1fe76aebe
Fix for node 0.8 with gzip compression. Thanks @vadimi
2012-07-09 16:58:02 -07:00
bodash
ffa8994a23
I continued to have websocket connection issues in Safari when using SSL that terminated at a load balancer. The shorthand logic that was here was nice and compact but didn't seem to work. Took the "intent" of the short hand and made it a bit more verbose and now it works.
2012-05-02 13:18:46 -06:00
Martin Thomson
aaad106b90
Adding node 0.4 backward compat for id gen
2012-04-26 15:08:19 -07:00
Martin Thomson
f850ddccd0
Removing more fixes for other bug
2012-04-26 14:35:17 -07:00
Martin Thomson
67b4eb9abd
Making ID generation securely random
2012-04-26 14:28:00 -07:00
Guillermo Rauch
fe6dd87443
Merge pull request #848 from mbrevoort/redisStoreRaceCondition
...
Fix Redis Store race condition in manager onOpen unsubscribe callback
2012-04-23 15:30:30 -07:00
Mike Brevoort
d9aeaa494f
Fix Redis Store race condition in manager onOpen unsubscribe callback
2012-04-23 16:06:31 -06:00
Nathan Rajlich
e1884859bc
fix for EventEmitters always reusing the same Array instance for listeners
...
This fixes node v0.7.x.
The node commits that broke this old behavior is here:
78dc13fbf9 %5E...928ea564d16da47e615ddac627e0b4d4a40d8196
2012-04-19 13:18:22 -07:00
Guillermo Rauch
0242a2ddf3
Merge branch 'master' of github.com:LearnBoost/socket.io
2012-04-17 19:51:49 -03:00
Guillermo Rauch
e98fc7bc86
Fixed XSS in jsonp-polling.
2012-04-17 19:48:32 -03:00
crickeys
1a5a87af13
Fixes when browser doesn't send origin header, defaults to empty string instead of UNDEFINED (which would throw an error on the origin.match(/^https/) below
2012-04-11 14:41:07 -05:00
Guillermo Rauch
a4e53a642b
Release 0.9.5
2012-04-05 14:37:18 -03:00
Guillermo Rauch
09fb16b443
Ensure close upon request close.
2012-04-05 14:31:50 -03:00
Guillermo Rauch
330407cc9d
Fix disconnection reason being lost for polling transports.
2012-04-05 14:31:32 -03:00
Guillermo Rauch
2075307f23
Ensure that polling transports work with Connection: close
2012-04-05 14:31:13 -03:00
Guillermo Rauch
d7b06edaca
Log disconnection reason
2012-04-05 14:31:01 -03:00