Commit Graph

7693 Commits

Author SHA1 Message Date
Guillermo Rauch
02573b0652 test: added Connection: close test. 2012-08-06 15:08:43 -07:00
Guillermo Rauch
8ca8990a0c Merge pull request #983 from GICodeWarrior/parser-recursion
Fix infinite recursion in Websocket parsers.
2012-08-06 13:16:37 -07:00
Guillermo Rauch
23e6d751c9 Release 0.2.0 2012-08-06 13:11:18 -07:00
Guillermo Rauch
8d5296b148 Release 0.2.0 2012-08-06 13:08:52 -07:00
Guillermo Rauch
8bda491c72 Release 0.2.0 2012-08-06 13:07:26 -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
7676213d46 Merge pull request #49 from LearnBoost/add/connection-close-detection
test: added closing connection test
2012-08-06 11:54:23 -07:00
Guillermo Rauch
1d580fef07 test: added closing connection test 2012-08-06 11:51:35 -07:00
Guillermo Rauch
5a6f2ce805 polling: fixed event names 2012-08-06 11:13:25 -07:00
Guillermo Rauch
4472e20955 README: documented pollComplete event 2012-08-06 11:13:05 -07:00
Guillermo Rauch
6d9cfa59d4 README: started on Transport (private API) docs 2012-08-06 10:56:26 -07:00
Guillermo Rauch
93d8c8dc55 Merge pull request #48 from LearnBoost/improve/id-generation
Improve/id generation
2012-08-06 09:19:22 -07:00
Guillermo Rauch
fb522c46fa test: updated tests 2012-08-06 09:18:39 -07:00
Guillermo Rauch
44fd1b97a1 server: implemented stronger id generator with collision detection 2012-08-06 09:17:11 -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
Guillermo Rauch
46227e7ac9 Merge pull request #980 from doozr/jsonp-error-crash
Always set the HTTP response in case an error should be returned to the client
2012-08-06 08:58:57 -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
b0a1c34b49 Release 0.1.2 2012-08-02 17:07:23 -07:00
Guillermo Rauch
6c390c470f Release 0.1.2 2012-08-02 17:07:14 -07:00
Guillermo Rauch
4ce21b0d14 Merge pull request #44 from LearnBoost/fix/jsonp-content-type
polling: changed text/plain to text/html (fixes #43)
2012-08-02 17:01:45 -07:00
Guillermo Rauch
26ffa48f0d polling: changed text/plain to text/html (fixes #43) 2012-08-02 17:00:06 -07:00
TJ Holowaychuk
01f83655a8 add component.json 2012-08-01 21:51:51 -07:00
Guillermo Rauch
a2663e8240 Release 0.1.1 2012-08-01 17:34:33 -07:00
Guillermo Rauch
e45f21375a Release 0.1.1 2012-08-01 17:31:00 -07:00
Guillermo Rauch
cb6cefb4fa Merge pull request #34 from LearnBoost/add/url-timestamping
Add/url timestamping
2012-08-01 17:29:15 -07:00
Guillermo Rauch
34a32bf211 test: fixed timestamp tests 2012-08-01 17:28:27 -07:00
Guillermo Rauch
56f9a1e0d4 util: added android UA sniffing 2012-08-01 17:23:28 -07:00
Guillermo Rauch
ad5c2ee021 transport: implemented timestamps 2012-08-01 17:23:12 -07:00
Guillermo Rauch
c81a5b0312 *: document timestamp options 2012-08-01 17:22:17 -07:00
Guillermo Rauch
4ff3419df0 Merge pull request #38 from LearnBoost/change/ws-impl
Change/ws impl
2012-08-01 16:32:43 -07:00
Guillermo Rauch
5a8cc19219 *: added ws dep 2012-08-01 16:10:40 -07:00
Guillermo Rauch
a86e1aeba1 server: added failing test courtesy of Contra 2012-08-01 16:10:28 -07:00
Guillermo Rauch
a80c76fa37 websocket: do error handling for each ws write 2012-08-01 16:09:45 -07:00
Guillermo Rauch
25b48dd152 server: replaced websocket.io with ws, now that it supports older drafts 2012-08-01 16:09:21 -07:00
Guillermo Rauch
48ad0d3d1d Release 0.9.9 0.9.9 2012-08-01 15:14:02 -07:00
Guillermo Rauch
d8351e60fd Release 0.9.9 2012-08-01 15:11:48 -07:00
Guillermo Rauch
cffb4ebdbd socket: fixed disconnect xhr url and made it actually sync 2012-08-01 15:10:24 -07:00
Guillermo Rauch
281a467960 manager: added response to sync disconnect xhrs 2012-08-01 15:08:06 -07:00
Guillermo Rauch
46a4b9ff9f Build 2012-08-01 13:48:54 -07:00
Guillermo Rauch
b5c7d6e486 Merge branch 'master' of github.com:LearnBoost/socket.io-client 2012-08-01 12:02:51 -07:00
Guillermo Rauch
34d15a7d56 xhr-polling: style 2012-08-01 12:02:31 -07:00
Guillermo Rauch
d841b3e5e5 Merge pull request #454 from nateps/master
Don't try to reconnect after receiving a 403 authorization error
2012-08-01 12:00:18 -07:00
Guillermo Rauch
1fa74a46a3 Revert "Fix disconnectSync getting ignored"
This reverts commit f48b40e134.
2012-08-01 11:58:28 -07:00
Guillermo Rauch
0679af04d4 *: bump xmlhttprequest dep 2012-08-01 11:55:44 -07:00
Guillermo Rauch
a22688470d socket: fixed force disconnect URI 2012-08-01 11:53:29 -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
Guillermo Rauch
9dd8134e6a Merge pull request #970 from renier/master
Codebase needs a license file (#965)
2012-07-31 08:32:07 -07:00
Renier Morales
180f1c91b9 Put license text in its own file (#965) 2012-07-31 11:07:21 -04:00