Commit Graph

7693 Commits

Author SHA1 Message Date
Guillermo Rauch
ee7e362d68 Required parser in Transport. 2011-12-21 10:49:28 -08:00
Guillermo Rauch
976ecd4956 Renamed Socket#write > Socket#sendPacket 2011-12-21 10:48:45 -08:00
Guillermo Rauch
cb573c51e5 Moved packets to the transport abstraction. 2011-12-21 10:44:32 -08:00
Guillermo Rauch
31d0108ced Switched probe to ping/pong. 2011-12-21 10:43:01 -08:00
Guillermo Rauch
c2eb0aa112 Initialized buffer for Transport in constructor. 2011-12-21 10:42:05 -08:00
Guillermo Rauch
3f78878d30 Initialized buffer for Socket in constructor.
Initialized buffer for Socket in constructor.
2011-12-21 10:41:01 -08:00
Guillermo Rauch
2113a27fca Added common requirements for tests.
This also adds a layer of compatibility for browser tests.
2011-12-20 22:24:47 -08:00
Guillermo Rauch
1caabfcd9e Fixed util tests. 2011-12-20 22:24:15 -08:00
Guillermo Rauch
b7c703998e Some more tests 2011-12-20 22:24:05 -08:00
Guillermo Rauch
b18d686c0c Added expect.js/mocha to devDependencies. 2011-12-20 22:23:45 -08:00
Guillermo Rauch
0c894cf0d2 Removed old should - using expect.js 2011-12-20 22:23:29 -08:00
Guillermo Rauch
60983c31d0 Finished decodePayload. 2011-12-20 22:23:06 -08:00
Guillermo Rauch
94e1f49a45 Merge pull request #354 from vedratna/master
fix for broken setCloseTimeout and 'IE+xhr-polling' goes into infinite loop on network disconnection
2011-12-20 22:11:36 -08:00
vedratna-velani
816bf1d19c fix for broken closeTimeout and 'IE + xhr' goes into infinite loop on disconnection 2011-12-21 11:21:13 +05:30
Guillermo Rauch
0a68dd160d Drastically simplified payload encoding. 2011-12-20 21:42:11 -08:00
Guillermo Rauch
917aae23c8 Added documentation for payload encode SPEC. 2011-12-20 21:35:51 -08:00
Guillermo Rauch
064d1872a5 Added error handling to packet decoding. 2011-12-20 21:35:34 -08:00
Guillermo Rauch
cefb25f3a9 Improved packet decoding. 2011-12-20 21:26:19 -08:00
Guillermo Rauch
ab949be7ad Added support for stringification of data objects. 2011-12-20 21:24:33 -08:00
Guillermo Rauch
89ea5370eb Added description of packet encoding for SPEC 2011-12-20 21:24:16 -08:00
Guillermo Rauch
2f12810778 Added pre-fabricated packet for parser errors. 2011-12-20 21:21:44 -08:00
Guillermo Rauch
ffc530613b Clean up packet types. 2011-12-20 21:21:12 -08:00
Guillermo Rauch
ccae35a047 Merge pull request #328 from wackfordjf3/patch-1
Clears the timeout from reconnection attempt when there is a successful or failed reconnection
2011-12-20 19:28:33 -08:00
Guillermo Rauch
9879d8c224 Merge pull request #327 from diegovar/patch-1
Removed decoding of parameters when chunking the query string.
2011-12-20 19:28:08 -08:00
Guillermo Rauch
201a0eb1c2 Merge pull request #353 from dget/master
Fix connections between http/https in IE
2011-12-20 19:25:35 -08:00
Guillermo Rauch
13a87962f9 Merge pull request #346 from vedratna/master
disabled reconnection on error if reconnect option set to false on connect
2011-12-20 19:25:05 -08:00
Guillermo Rauch
8adea259c3 Added test Makefile tasks. 2011-12-20 09:20:18 -08:00
Guillermo Rauch
d86ab65a88 REnamed engine-client > engine.io-client. 2011-12-20 09:15:16 -08:00
Guillermo Rauch
b033cf26b8 Exposed util and parser. 2011-12-20 09:14:46 -08:00
Dan Getelman
0ba168c9b6 Cross domain requests properly fall back with SSL 2011-12-20 06:50:47 -05:00
Guillermo Rauch
8ff2edd79c Merge pull request #689 from bwillard/master
Improve performance of parser.decodePayload
2011-12-16 14:04:12 -08:00
Brian Willard
ebd25676ee combine two substr calls into one in decodePayload to improve performance 2011-12-16 15:31:48 -06:00
Guillermo Rauch
5b4b368912 Indicate that there's 3 interfaces to implementing a Server. 2011-12-15 11:21:43 -08:00
Guillermo Rauch
18a735c53c README improvements. 2011-12-15 11:08:39 -08:00
Guillermo Rauch
0234dbf94e Adapted package.json name, bumped ws.io 2011-12-15 10:29:55 -08:00
Guillermo Rauch
499e288ed6 Fixed WS writeMany method. 2011-12-15 10:19:36 -08:00
Guillermo Rauch
c1a7f91dc4 Fixed JSON transport require. 2011-12-15 10:19:17 -08:00
Guillermo Rauch
c149684f7f Fixed XHR references 2011-12-15 10:16:59 -08:00
Guillermo Rauch
1ed582b3e0 Fixed try/catch block 2011-12-15 10:14:39 -08:00
Guillermo Rauch
3705e60537 Fixed typo 2011-12-15 10:14:16 -08:00
Guillermo Rauch
56b6597e49 Adapted README to new global. 2011-12-15 10:11:44 -08:00
Guillermo Rauch
7c28a36ef4 Fixed undefined util. 2011-12-15 10:11:23 -08:00
Guillermo Rauch
d9d529cb17 Merge pull request #683 from jherdman/documentation-fix
Minor documentation fix
2011-12-12 11:02:24 -08:00
James Herdman
b37666a8e8 Minor documentation fix 2011-12-12 11:10:25 -05: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
36fc7b07ea Minor. Conform to style of other files. 2011-12-05 16:59:15 -05:00
Matt Robenolt
8eab3a87e7 Switching setting to 'match origin protocol' 2011-12-05 16:58:00 -05:00
vedratna
7155d84af9 disabled reconnection on error if reconnect option is set to false 2011-12-05 18:08:59 +05:30
Guillermo Rauch
4d45b70e37 Fixed package.json name 2011-12-04 19:23:56 -08:00
Guillermo Rauch
425366528f Bumped mocha 2011-12-04 19:18:59 -08:00