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
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
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
281a467960
manager: added response to sync disconnect xhrs
2012-08-01 15:08:06 -07:00
Petr Běhan
a5c5c20438
restore compatibility with node 0.4.x
2012-07-27 15:38:57 +02: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
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
e98fc7bc86
Fixed XSS in jsonp-polling.
2012-04-17 19:48:32 -03:00
Guillermo Rauch
df5f23d309
More sensible close timeout default (fixes disconnect issue)
2012-03-13 10:49:06 -03:00
Guillermo Rauch
e018ba91eb
Merge branch 'master' of github.com:LearnBoost/socket.io
2012-03-09 08:47:01 -03:00
Guillermo Rauch
c59aa6ff2c
Getting ready for 1.0
2012-03-09 08:42:24 -03:00
Matt Mueller
a29525e043
NODE_ENV in configure now defaults to development, which is consistent with express
2012-03-09 02:10:58 -08:00
Felix Geisendörfer
57a0b24060
Make heartbeat timeout > heartbeat interval
...
Otherwise clients would detect timeouts before a heartbeat has a chance
of reaching them. The new values themselves were suggested by @rauchg. I
myself think that the heartbeat timeout should probably only be ~10s larger
than the interval.
2012-02-29 14:15:37 +01:00
Fabian Jakobs
09b130f4cf
make it possible to use a regexp to match the
...
socket.io resource URL. We need this because we
have to prefix the socket.io URL with a variable
ID.
2012-02-09 17:17:55 +01:00
Guillermo Rauch
cc2270bb90
Merge pull request #622 from mattrobenolt/master
...
Location mismatch in Safari behind proxy
2011-12-05 14:04:57 -08:00
Matt Robenolt
8eab3a87e7
Switching setting to 'match origin protocol'
2011-12-05 16:58:00 -05:00
Guillermo Rauch
94d513c85a
Revert "Fixes leaking Redis subscriptions for #663 . The local flag was not getting passed through onClientDisconnect()."
...
This reverts commit d5ab46d662 .
2011-11-26 15:14:26 -08:00
Guillermo Rauch
70abe7aada
Revert "Handle leaked dispatch:[id] subscription."
...
This reverts commit c110036f75 .
2011-11-26 15:14:13 -08:00
Daniel Shaw
c110036f75
Handle leaked dispatch:[id] subscription.
2011-11-26 12:14:39 -08:00
Daniel Shaw
d5ab46d662
Fixes leaking Redis subscriptions for #663 . The local flag was not getting passed through onClientDisconnect().
2011-11-26 11:22:43 -08:00
Arnout Kazemier
a7f45fe6c0
prevent memory leaking on uncompleted requests & add max post size limitation
2011-11-23 22:28:38 +01:00
Gavin Uhma
61e7e8955a
Merge branch 'master' of git://github.com/LearnBoost/socket.io into auth-fix
2011-11-22 18:03:48 -04:00
Gavin Uhma
4c17f7f83b
Set Access-Control-Allow-Credentials true, regardless of cookie
2011-11-22 18:03:25 -04:00
Guillermo Rauch
db8cf7673b
Merge pull request #634 from christopherobin/master
...
Fixing issue #432
2011-11-16 13:05:18 -08:00
Guillermo Rauch
dfb852151b
Merge pull request #570 from 3rd-Eden/logger
...
Use tty to detect if we should add colors or not by default.
2011-11-16 13:04:51 -08:00
einaros
27714d7286
fixes manager.js failure to close connection after transport error has happened
2011-11-14 17:40:16 +01:00
einaros
ffef944dd5
added implicit port 80 for origin checks. fixes #638
2011-11-14 09:45:44 +01:00
Christophe Robin
f4b434a6a5
Fixed bug #432 in 0.8.7
2011-11-11 11:06:56 +09:00
Gavin Uhma
e4a9342e8b
set Access-Control-Allow-Origin header to origin to enable withCredentials
2011-11-08 18:22:30 -04:00
Matt Robenolt
6f2270add6
Adding configuration variable matchOriginProtocol
...
matchOriginProtocol is meant to be used when running socket.io behind a
proxy. matchOriginProtocol should be set to true when you want the
location handshake to match the protocol of the origin. This fixes
issues with terminating the SSL in front of Node and forcing location
to think it's wss instead of ws.
2011-11-03 15:34:24 -04:00
Guillermo Rauch
946418e70e
Merge pull request #621 from einaros/master
...
Deals with a memleak in namespaces, and silently drops malformed websocket connections
2011-11-02 15:11:21 -07:00
thekiur
9e92075cbb
Removed useless object: closedA, probably fixed a memory leak
2011-11-01 23:31:58 +02:00
einaros
63043b3d5d
fixes leak #608
2011-10-31 22:47:25 +01:00
einaros
cb70f7873f
moved default error handler
2011-10-25 13:18:40 +02:00
Arnout Kazemier
d9049f69c1
Merge branch 'master' of github.com:LearnBoost/socket.io into logger
2011-10-11 20:01:05 +02:00
Arnout Kazemier
10ffbd59e9
Use tty to detect if we should add colors or not by default.
2011-10-11 20:00:30 +02:00
Guillermo Rauch
175fe8573b
Merge pull request #563 from 3rd-Eden/logger
...
Logger
2011-10-11 08:18:16 -07:00
Arnout Kazemier
ecd20b0e1f
Added support for blacklisting events that are emitted from the client side.
...
Currently it's possible for a client do .emit('disconnect') and this will trigger
the disconnect event on the server.. Which can lead to major issues.
We should black list that by default. You can override or add more events by adding
them to the `blacklist` setting
2011-10-11 10:40:22 +02:00
Arnout Kazemier
b8f6dc7810
Inital stab at blacklisting client side events
2011-10-11 09:53:26 +02:00
Arnout Kazemier
0b7ed64082
Fixed logging options, closes #540
2011-10-10 21:32:54 +02:00