Commit Graph

151 Commits

Author SHA1 Message Date
Damien Arrachequesne
b436ca3887 [chore] Drop support for old nodejs versions (0.10 & 0.12) (#493) 2017-03-11 09:41:48 +01:00
Damien Arrachequesne
81ef0bc939 [feat] Add an option to toggle handling of OPTIONS requests (#491)
By setting `handlePreflightRequest` to false, OPTIONS request are no
longer processed by engine.io. A function can also be provided.
2017-03-11 09:04:00 +01:00
Damien Arrachequesne
274efa120e [feature] Add an initialPacket option (#471) 2017-01-22 07:51:27 +01:00
Damien Arrachequesne
f72f6f3fa6 [fix] allowRequest failures now return 403 Forbidden (#452) 2016-12-22 08:41:51 +01:00
Jérémy Lal
e144dc17ad [test] Fix test failure by increasing pingTimeout (#461) 2016-12-12 22:02:54 +01:00
Damien Arrachequesne
b5292c7826 [refactor] Remove deprecated code used for nodejs v0.8 (#456) 2016-12-08 01:01:10 +01:00
Julian Grinblat
7f659a50d3 [fix] Don't delete ws when closing the server (#444) 2016-11-15 22:01:20 +01:00
dlimkin
60780e2fb7 [feature] Fix cookiePath empty bug and add cookieHttpOnly option (#423) 2016-11-03 01:29:40 +01:00
Damien Arrachequesne
7c33b42153 [test] fix tests for NodeJS v7 (#441) 2016-11-03 01:28:01 +01:00
Diga Widyaprana
7cbdd5e5d9 [style] Add ESlint (#385) 2016-10-31 02:40:58 +01:00
Kim Min-Ho
e008ffeba5 [style] Fix some typos (#439) 2016-10-25 00:58:01 +02:00
Jérémy Lal
0d1f487696 Tests: disable SSL with uws tests on node < 4.4.3 2016-05-07 16:18:59 +02:00
Jérémy Lal
0b9d6dc496 Do not run tests with uws engine on Node < 4 2016-05-07 00:56:14 +02:00
Jérémy Lal
41165e0f15 Test if wsEngine option loads uws instead of ws 2016-05-07 00:38:02 +02:00
nkzawa
1a98563898 add tests for graceful close 2016-01-21 20:35:11 +09:00
Guillermo Rauch
22ebac4860 fix tests for 0.8 2015-12-01 11:41:49 -08:00
nkzawa
78b287742d improve X-XSS-Protection header definition 2015-12-01 23:03:44 +09:00
nkzawa
b56603169a add threshold for permessage-deflate 2015-12-01 14:21:53 +09:00
Damien Arrachequesne
cf9b0298a1 Add hasOwnProperty checks 2015-11-23 15:13:19 +01:00
Guillermo Rauch
057f32d195 Merge pull request #318 from amiuhle/cookie-path
Cookie path
2015-11-21 10:47:26 -08:00
nkzawa
66d85e4a5c add tests for closing transports 2015-09-09 03:55:32 +09:00
Naoyuki Kanezawa
79a001d2e0 Merge pull request #337 from fmm/patch-1
Update server.js
2015-09-02 01:52:11 +09:00
nkzawa
ba7226f377 fix unstable tests 2015-08-30 04:00:44 +09:00
Filipe Martins
fd89de6232 Update server.js
Fixes index iteration on Int32Array type.
2015-08-10 16:48:22 -03:00
Guillermo Rauch
f3226b1ddf Merge branch '1.5.2-patch' 2015-07-09 09:16:12 -07:00
Guillermo Rauch
f002d5b4db server: fix test 2015-07-09 09:14:48 -07:00
Guillermo Rauch
2807a2c34d server: make error test pass consistently 2015-07-08 10:24:37 -07:00
Guillermo Rauch
c40039360b test/server: remove callbackBuffer assertions 2015-05-27 12:55:53 -07:00
Guillermo Rauch
e7633370f3 server: remove assertion founded solely on a race condition (╯°□°)╯︵ ┻━┻ 2015-05-27 12:45:31 -07:00
zensh
df4331dd1a support custom socket id 2015-05-08 10:24:32 +08:00
Adriano Raiano
299ec66d0b fixing test 2015-04-10 21:40:51 +02:00
Adriano Raiano
85a87c3d51 added test case for https://github.com/Automattic/engine.io-client/pull/379 2015-04-10 21:40:51 +02:00
Timo Uhlmann
0c28be9ba5 Test & doc for cookiePath 2015-04-03 15:05:56 +02:00
Naoyuki Kanezawa
99b709cadc Merge branch 'master' into compression
Conflicts:
	package.json
2015-01-22 03:52:22 +09:00
Naoyuki Kanezawa
d11e17c8d7 support compression 2015-01-06 02:11:39 +09:00
Luigi Pinca
9526e0d27f polling: correctly abort the ongoing data request when closing transport 2015-01-03 21:13:43 +01:00
Tony Kovanen
0a100b0054 Additional SSL tests. 2014-11-24 04:56:44 -03:00
Tony Kovanen
b55a0e71b5 Add cert tests. 2014-11-24 04:56:08 -03:00
Luigi Pinca
e754f7eb23 socket: flush the write buffer before closing the socket (fixes #293) 2014-10-25 22:04:16 +02:00
Mark Mokryn
b98406a678 fix GH-211, set CORS headers when sending error message 2014-06-04 03:21:11 +03:00
Guillermo Rauch
0eca5e5d46 shishishishishi 2014-05-22 01:45:21 -07:00
Guillermo Rauch
10261c5211 removed flashsocket, moving to userland 2014-05-17 15:24:40 -07:00
Guillermo Rauch
361053c30b further reduce 2014-05-14 11:34:13 -07:00
Guillermo Rauch
b5a311e2d1 test: reduce packet size 2014-05-14 10:45:20 -07:00
Tony Kovanen
83caa815cd Removed an old test that checked the ws api works (which is now removed) and fixed a global leak in JSONP tests 2014-04-11 21:09:24 +03:00
Contra
1ebc286af4 use _query instead of query, fixes compat with restify 2014-04-03 18:03:16 -07:00
Tony Kovanen
f8100f9237 Added a maximum buffer size to received data from polling. Settable with the maxHttpBufferSize option 2014-03-26 21:19:54 +02:00
Guillermo Rauch
b0e5527513 style 2014-03-06 11:32:24 -08:00
Guillermo Rauch
ab4ea948cc Merge pull request #218 from rase-/add/binary-support
Binary support
2014-02-18 17:28:57 -08:00
Tony Kovanen
8cd37f0839 Style 2014-02-15 09:15:12 +02:00