Sweet Song
b21493325a
index.js: replaced return [err] with callback
...
parser.js: replaced error return expects
2013-02-22 10:58:07 -05:00
Sweet Song
dc063040d2
index.js: Only return on error
...
parser.js: removed assertions to arrays
remove NOTE
2013-02-18 23:08:52 -05:00
Guillermo Rauch
9315fd4716
Merge pull request #115 from shtylman/patch-2
...
remove browserbuild dependency
2013-02-18 15:35:49 -08:00
Guillermo Rauch
c09a42886f
Merge pull request #116 from shtylman/patch-3
...
Update to debug 0.7.2
2013-02-18 15:35:43 -08:00
Guillermo Rauch
7143eef4c7
Merge pull request #117 from shtylman/patch-4
...
Update to ws 0.4.25
2013-02-18 15:35:32 -08:00
Roman Shtylman
50a83ac306
Update to ws 0.4.25
...
This has a 'browser' field which makes it packageable using browserify
and similar tools which read require statements.
2013-02-18 17:16:28 -05:00
Roman Shtylman
47a66fc334
Update to debug 0.7.2
...
This has a browserify field which makes it packageable using similar tools.
2013-02-18 17:14:49 -05:00
Roman Shtylman
98d4b5729c
remove browserbuild dependency
...
No longer used.
2013-02-18 17:13:31 -05:00
Sweet Song
560e8cc0e6
index.js: Added initial version of callback
...
test.js: Added in callback function
NOTE: there might be a bug in the index decodePayload function, I will continue to look into it
2013-02-16 14:34:37 -05:00
Guillermo Rauch
5260fe37f2
Merge pull request #111 from ysaw/bug108
...
Added onerror handler for script tag in jsonp transport
2013-02-16 08:33:27 -08:00
Guillermo Rauch
d66c2bee18
Merge pull request #113 from pyhrus/readme_flash_files_location
...
Added the URL where the flash files can be found in README.md
2013-02-16 08:31:46 -08:00
Guillermo Rauch
118b161c6e
Merge pull request #112 from asdfryan/bug86
...
fix for issue 86: try catch for iframe removal
2013-02-16 08:31:17 -08:00
Shankar Karuppiah
fbb34de1c0
Added the URL where the flash files can be found in README.md
2013-02-16 14:31:57 +02:00
Ryan Liu
4bbeb4b091
double quotes to single quotes
2013-02-15 22:18:04 -05:00
Ryan Liu
a3f447377f
Merge branch 'master' of https://github.com/LearnBoost/engine.io-client into bug86
2013-02-15 22:16:04 -05:00
Ryan Liu
b68f80f966
ted made me get rid of white space
2013-02-15 22:09:08 -05:00
Ryan Liu
41aea326b1
fixed JSONPPolling iframe removal error, issue #86
2013-02-15 22:06:12 -05:00
Yihui Saw
4680c20859
changed error message to match xhr error message on jsonp transport script tag
2013-02-15 21:45:04 -05:00
Yihui Saw
3432e0aab3
Added onerror handler for script tag in jsonp transport
2013-02-15 20:51:37 -05:00
Guillermo Rauch
956705af1f
Merge pull request #110 from mjgil/bug-fix-#107
...
remove uid qs
2013-02-15 16:35:42 -08:00
Malcom Gilbert
04b3da0944
remove uid qs
2013-02-15 19:32:29 -05:00
Guillermo Rauch
cdca3b6a57
lib: removed editor file
...
cc @sweetieSong
2013-02-14 13:01:50 -08:00
Guillermo Rauch
702254fdf3
Added missing colon in payload. Thanks @lsm
2013-02-10 08:22:55 -08:00
Guillermo Rauch
0450cc42cd
Release 0.4.3
2013-02-08 12:11:07 -08:00
Guillermo Rauch
ce28c9300f
package: bumped engine.io-client to 0.4.3
2013-02-08 12:10:48 -08:00
Guillermo Rauch
119182eefd
Release 0.4.3
2013-02-08 12:10:18 -08:00
Guillermo Rauch
903f63d46d
package: removed unusued parser.js
2013-02-08 12:09:51 -08:00
Guillermo Rauch
81e599b344
Release 0.4.2
2013-02-08 11:12:15 -08:00
Guillermo Rauch
639276600b
Release 0.4.2
2013-02-08 10:53:05 -08:00
Guillermo Rauch
1059147fa3
Merge pull request #141 from pokermania/to_learnboost_20130130
...
close socket if upgrade is received and socket.readyState != open
2013-02-08 08:17:08 -08:00
Guillermo Rauch
59281c0e56
Merge pull request #145 from st3redstripe/spelling
...
Fix spelling errors
2013-02-08 07:53:37 -08:00
stephen-bradshaw
f2bc5190b4
fix spelling errors
2013-02-08 09:27:52 +00:00
Guillermo Rauch
8b655dd5f7
polling-jsonp: fix ie6 JSONP on SSL
2013-02-01 09:35:57 -08:00
Guillermo Rauch
1d7157622e
Merge pull request #144 from shtylman/fix-multiple-paths
...
Only end upgrade socket connections if unhandled
2013-01-31 19:44:14 -08:00
Roman Shtylman
fd36eeaf02
Only end upgrade socket connections if unhandled
...
This fixes an issue where multiple engine.io instances (on different
paths) would result in the closing of websocket connections for all of
the instances. This happened because each engine.io instance would
register an `upgrade` handler on the server. This handler would check
for a matching path and otherwise call `socket.end()` Since multiple
upgrade events would be triggered with different paths, the peer
handlers would close each other.
This patch resolves this behavior in the following way:
- When an instance upgrade handler encounters a path which it does not
recognize it creates a timeout for `destroyUpgradeTimeout`.
- At the end of the timeout, the socket is checked for writable state
and bytes written. If there has been not activity and the socket is
writable, then it will be ended.
This allows for peer socket handlers to keep the socket alive by sending
some data over it. This also mimics the core node behavior of closing
sockets on upgrade when no handler is specified. We consider not
handling an upgrade request similar to no handler. However, we cannot
immediately end the socket for the reasons noted above.
fixes #143
2013-01-31 22:42:11 -05:00
Guillermo Rauch
150d2bfb0c
Merge pull request #142 from shtylman/fix-package-deps
...
fix websocket dependency
2013-01-30 15:02:18 -08:00
Roman Shtylman
ee475f10f2
fix websocket dependency
...
listing the dependency in dev dependencies clobbers the actual
dependency
2013-01-30 17:25:56 -05:00
Guillermo Rauch
116a9346e2
Merge pull request #95 from pokermania/to_learnboost_20130130
...
close also if socket.readyState is on "opening"
2013-01-30 08:15:31 -08:00
Andor Goetzendorff
c4528ecbe7
close also if socket.readyState is on "opening"
2013-01-30 16:59:22 +01:00
Andor Goetzendorff
4ef40991be
close socket if upgrade is received and socket.readyState != open
2013-01-30 16:57:44 +01:00
Guillermo Rauch
e2036989b0
Merge pull request #94 from timmak/master
...
Updated component to 4.1
2013-01-29 14:26:13 -08:00
timmak
30a1554a14
Update component.json
2013-01-29 22:05:17 +00:00
timmak
2bf232faae
Update component.json
2013-01-29 22:01:53 +00:00
timmak
610184a3af
Update component.json
2013-01-29 21:53:47 +00:00
Guillermo Rauch
8715eb7e6e
Merge pull request #93 from sweetieSong/add/engine.io-parser
...
Integrated the enine.io-parser
2013-01-28 15:08:14 -08:00
Sweet Song
5929dcdea9
parser.js: removed the file
...
package.json: added the engine.io-parser dependency
everything else: switched to engine.io-parser
2013-01-28 11:40:15 -05:00
Guillermo Rauch
1ff3a1d239
Readme: added clarification
2013-01-28 07:59:13 -08:00
Guillermo Rauch
0d5200ed69
Readme: fix
2013-01-28 07:53:30 -08:00
Guillermo Rauch
abf798e2bb
Readme: note
2013-01-28 07:51:55 -08:00
Guillermo Rauch
2102eb4bb3
Readme: added listen to examples
2013-01-28 07:51:14 -08:00