Guillermo Rauch
5b6efb784f
Simplified global message dispatching by leveraging subscriptions.
2011-06-27 15:28:24 -03:00
Guillermo Rauch
c210241379
Refactored handshake
2011-06-27 15:27:58 -03:00
Guillermo Rauch
8594d684ef
Fixed style
2011-06-27 15:27:44 -03:00
Guillermo Rauch
970621d5ee
Refactored client request handling:
...
- removed the concept of async handshake, since we now keep track of open/closed
clients and handshakes across all nodes (replication)
- when a client closes temporarily, before the disconnection is triggered and before
the transport is reopened in any node, we buffer messages in all nodes. We therefore
remove the need for a complex message queue with a memory tradeoff (buffer redundancy).
2011-06-27 15:21:50 -03:00
Guillermo Rauch
c9d9c2e8b3
Added initStore and subscription handlers.
2011-06-27 15:21:01 -03:00
Guillermo Rauch
8f44f026ee
Removed usage of Store#disconnect, replaced with a simple subscription.
2011-06-27 15:20:35 -03:00
Guillermo Rauch
c369073a72
Moved id generation method into the manager.
2011-06-27 15:18:37 -03:00
Guillermo Rauch
b700f0546d
Added call to initStore to initialize subscriptions.
2011-06-27 15:16:54 -03:00
Guillermo Rauch
bafb347e4a
Changed console.error to console.log.
2011-06-22 23:56:14 -03:00
Arnout Kazemier
7200dfed84
Output the correct name
2011-06-23 00:48:06 +02:00
Arnout Kazemier
b348f4de99
Style
2011-06-23 00:23:18 +02:00
Arnout Kazemier
6452602603
Merge branch 'master' of https://github.com/LearnBoost/Socket.IO-node
2011-06-23 00:20:55 +02:00
Arnout Kazemier
6f93bb2ec7
Added 304 support
2011-06-23 00:20:28 +02:00
Guillermo Rauch
ffd3e8bc96
Removed Transport#name for abstract interface.
2011-06-22 18:40:26 -03:00
Arnout Kazemier
041b5655f9
Delete they client instead of setting it to null. And make sure the client exists
...
before we do .disconnect
2011-06-22 22:43:39 +02:00
Arnout Kazemier
080676bf6e
Lazy require http and https module only when needed
2011-06-22 21:40:02 +02:00
Arnout Kazemier
b87e51bae3
Refixed merge fail
2011-06-22 10:26:39 +02:00
Arnout Kazemier
4672ab65d7
Merge branch 'master' of https://github.com/LearnBoost/Socket.IO-node
...
Conflicts:
lib/transports/http-polling.js
2011-06-22 10:24:35 +02:00
Guillermo Rauch
331e6e85b9
Release 0.7.2
2011-06-22 04:15:01 -03:00
Guillermo Rauch
aef5027640
Make sure to write a packet (of type noop) when closing a poll. This solves a problem
...
with cross-domain requests being flagged as aborted and reconnection being triggered.
2011-06-22 04:08:28 -03:00
Guillermo Rauch
4933cf1a9e
Added noop message type.
2011-06-22 04:08:11 -03:00
Arnout Kazemier
28b396c3fc
Merge branch 'master' of https://github.com/LearnBoost/Socket.IO-node
2011-06-22 08:58:33 +02:00
Guillermo Rauch
aeac79faa9
Fixed; restored headers in POST responses.
2011-06-21 20:34:20 -03:00
Guillermo Rauch
903f7ec9ff
Fixed cross-domain POST XHR requests for Firefox.
2011-06-21 20:17:24 -03:00
Arnout Kazemier
808e794ec5
Merge branch 'master' of github.com:3rd-Eden/Socket.IO-node
2011-06-21 21:35:42 +02:00
Arnout Kazemier
cb7aa0a79c
Merge branch 'master' of https://github.com/LearnBoost/Socket.IO-node
2011-06-21 21:35:26 +02:00
Arnout Kazemier
1bddfc45dd
Added client handler to the options, just for the sake of consistency
2011-06-21 21:09:41 +02:00
Arnout Kazemier
4c5dfd53f0
Merge branch 'master' of https://github.com/LearnBoost/Socket.IO-node
2011-06-21 10:03:20 +02:00
Arnout Kazemier
a62bced081
this.name > prototype.name
2011-06-21 10:00:13 +02:00
Guillermo Rauch
962736a47a
Reverting to more lightweight htmlfile framing.
2011-06-21 04:59:29 -03:00
Arnout Kazemier
397dfbc51d
Naming
2011-06-21 09:44:26 +02:00
Guillermo Rauch
57d33a4a97
Remove graceful close, as web implementations don't need it.
2011-06-21 01:09:11 -03:00
Guillermo Rauch
5518f8cb2c
Added support for CORS of POST requests.
2011-06-21 01:08:25 -03:00
Guillermo Rauch
e55c5e91fb
Fix for htmlfile
2011-06-20 17:50:26 -03:00
Guillermo Rauch
ae5ace723e
Merge branch 'master' of github.com:LearnBoost/Socket.IO-node
2011-06-20 17:34:40 -03:00
Guillermo Rauch
191d68d85f
Workaround for race condition
2011-06-20 17:34:16 -03:00
Arnout Kazemier
043b5e8063
Only require flashpolicy when the we create a function
...
Fixes for handshakes
2011-06-20 10:04:01 +02:00
Arnout Kazemier
8115cbacee
Added reconnect advice from broken handshakes + deadcode removal
2011-06-20 00:14:36 +02:00
Arnout Kazemier
78285af72f
Fix for encoding of the static serve and we should send buffers instead of strings
2011-06-18 21:37:54 +02:00
Arnout Kazemier
32db05d178
Passes test suite + 2 new tests
2011-06-18 21:12:11 +02:00
Arnout Kazemier
dba93a1bb3
lib/
2011-06-18 20:28:13 +02:00
Arnout Kazemier
567140e183
-- console.dir
2011-06-18 20:15:55 +02:00
Arnout Kazemier
b1837f348e
Improved static serving of content
2011-06-18 20:14:58 +02:00
Arnout Kazemier
0400a51b91
Should init the transport with the init function
...
not the flashsocket each time
2011-06-18 11:17:16 +02:00
Guillermo Rauch
2be18c8324
Fixed style.
...
Changed; make sure logging is lowercase.
2011-06-18 04:43:23 -03:00
Guillermo Rauch
b928e77fd1
Changed non-socket.io scope requests logging since it was confusing users.
2011-06-18 04:43:01 -03:00
Guillermo Rauch
c2e48f36b2
Changed; attempt to initialize all transports.
2011-06-18 04:42:33 -03:00
Arnout Kazemier
ab0c0d110c
Added tests for the policy file server
...
Changed `update:` back to `set:` because it's more pretty
2011-06-18 01:13:44 +02:00
Arnout Kazemier
26a30c5863
Added WIP flashsocket
2011-06-17 23:10:23 +02:00
Guillermo Rauch
e16f1832ac
Merge branch 'master' of github.com:LearnBoost/Socket.IO-node
2011-06-17 16:14:40 -03:00