Commit Graph

221 Commits

Author SHA1 Message Date
Guillermo Rauch
8d98a3359e Added cache busting to all polling transports
Also added forceBust option
2012-04-17 16:56:14 -03:00
Guillermo Rauch
3a152c7997 Removed XHR specific cache busting. 2012-04-17 16:56:00 -03:00
Guillermo Rauch
244dba26bd Adapted code to leverage debug() 2012-04-02 12:55:53 -03:00
Guillermo Rauch
93605fd3e9 Implemented resource alongside with path. 2012-04-02 12:16:18 -03:00
Guillermo Rauch
046644bd37 Fix and simplify readystatechange 2012-03-08 12:07:50 -03:00
Guillermo Rauch
722fe8ee0d Fixed JSONP (fixes #24) 2012-03-08 10:44:06 -03:00
Jakob Stoeck
bcc833275a browser compatibility
ie7 does not support data[i] but data.charAt(i)
2012-03-01 18:50:01 +01:00
Jakob Stoeck
adc67e8da3 replaced control character with space 2012-03-01 18:45:10 +01:00
Andor Goetzendorff
99306d3fcf xhr polling does not call onError when xhr.status == 0, refs #21 2012-02-29 16:44:00 +01:00
Guillermo Rauch
f651cb45f0 Added basePath option. 2012-02-27 08:53:11 -03:00
Lal Jérémy
d5df4c57dd Options should take opts.secure. 2012-02-22 11:05:47 +01:00
Andor Goetzendorff
9d8f75ff38 loop over navigator.plugins instead of using .indexOf, fixes #16 2012-02-15 16:27:35 +01:00
Guillermo Rauch
aee3fd6fa0 Fixed ws compliance in onmessage. 2012-01-19 09:46:28 -08:00
Guillermo Rauch
9890c5eabb Fixed style 2012-01-18 10:41:06 -08:00
Guillermo Rauch
865ad73ddd No longer needed with new browserbuild. 2012-01-18 08:48:16 -08:00
Guillermo Rauch
94bd8effd2 Fixed callbacks data type. 2012-01-18 08:39:58 -08:00
Guillermo Rauch
c2f2b41e17 JSONP callback improvements. 2012-01-18 08:36:47 -08:00
Guillermo Rauch
2ec8cbad3f Merge branch 'master' of github.com:/LearnBoost/engine.io-client
Conflicts:
	lib/transports/polling.js
2012-01-18 08:32:50 -08:00
Guillermo Rauch
bbc1fc1b7b Removed unneeded, cyclic requires. 2012-01-18 08:32:07 -08:00
Guillermo Rauch
a1720e470b Fixed super call from JSONP 2012-01-18 08:31:57 -08:00
Guillermo Rauch
32b2d6f282 Merge pull request #14 from dvv/patch-4
stopper typo fixed
2012-01-18 08:05:45 -08:00
Vladimir Dronnikov
5aeff8618d stopper typo fixed 2012-01-18 10:28:12 -05:00
Vladimir Dronnikov
b8e76bcb51 dangerous typo: JSON 2012-01-18 10:26:45 -05:00
Guillermo Rauch
9800e29f72 Removed notion of pingInterval 2012-01-17 09:50:10 -08:00
Guillermo Rauch
f3375a86da Revert "fixed wrong assumption on ping timeout"
This reverts commit 3012a7922b.
2012-01-17 09:32:42 -08:00
Guillermo Rauch
35d35e3980 Consistency with server 2012-01-17 09:32:34 -08:00
Guillermo Rauch
b972088e39 Merge branch 'master' of github.com:/LearnBoost/engine.io-client 2012-01-17 08:15:33 -08:00
Guillermo Rauch
3fc505d573 Leveraged util.keys for browser compliance. 2012-01-17 08:14:44 -08:00
Guillermo Rauch
ed59483bb9 Added util#keys 2012-01-17 08:14:06 -08:00
Guillermo Rauch
3877183268 Removed unneeded .bind 2012-01-17 08:12:08 -08:00
Vladimir Dronnikov
3012a7922b fixed wrong assumption on ping timeout 2012-01-17 09:31:12 +00:00
Guillermo Rauch
b8d126c2c2 Improved dependency loader. 2012-01-16 15:38:56 -08:00
Guillermo Rauch
2e52e6eb60 Transfer web-socket-js logging to instrumentation. 2012-01-16 14:56:47 -08:00
Guillermo Rauch
b7b9ee1b2e Leveraged flashPath from flashsocket transport. 2012-01-16 14:55:43 -08:00
Guillermo Rauch
44eaeeaa60 Added flashPath option. 2012-01-16 14:55:29 -08:00
Guillermo Rauch
6ec7668fd4 Merge pull request #6 from dvv/parser
coercion is done right
2012-01-16 10:04:09 -08:00
Guillermo Rauch
38d6b75d0e Fixed missing global reference. 2012-01-16 09:59:48 -08:00
Vladimir Dronnikov
4b7d7e9787 we coerce data to string 2012-01-16 12:52:23 -05:00
Guillermo Rauch
cc14deb5ab Removed error packet type. 2012-01-16 09:41:51 -08:00
Vladimir Dronnikov
01260064cf fixed encoder 2012-01-16 12:21:41 -05:00
Vladimir Dronnikov
2f691d3a07 Merge branch 'master' of github.com:LearnBoost/engine.io-client into parser 2012-01-16 12:14:48 -05:00
Vladimir Dronnikov
85bf4c05be drop excess : in packets 2012-01-16 12:14:15 -05:00
Vladimir Dronnikov
516525afd4 parser simplified 2012-01-16 11:34:01 -05:00
Guillermo Rauch
37ad952168 Fixed 204 status on IE. 2012-01-16 08:14:00 -08:00
Guillermo Rauch
b6daf3212e Fixed order of on and load in util. 2012-01-16 08:05:08 -08:00
Guillermo Rauch
5f0d2455d3 Ensured we emit the event _after_ we we call onPacket.
This prevents a race condition where upon `poll`, the transport
gets paused, then upon getting closed upgraded (therefore replaced)
and packets are lost!
2012-01-15 22:30:28 -08:00
Guillermo Rauch
ce02ec2aaa Added polling data instrumentation. 2012-01-15 22:30:13 -08:00
Guillermo Rauch
2fe5b2682f Restored correct pausing logic for polling. 2012-01-15 22:29:51 -08:00
Guillermo Rauch
53c3e90fd7 Added fix for considering 204 a success.
In addition, avoid recursion error with status errors.
2012-01-15 22:25:40 -08:00
Guillermo Rauch
18cbd9d3a3 Added guard for uninitialized flashsocket close attempt. 2012-01-15 22:25:23 -08:00