Commit Graph

7693 Commits

Author SHA1 Message Date
Damien Arrachequesne
b1baf8d998 [feature] Allow extraHeaders to be set for browser clients in XHR requests (#519) 2016-12-30 17:08:38 +01:00
Damien Arrachequesne
c01b9a8560 [feature] Add support for per transport options (#518) 2016-12-30 16:46:36 +01:00
Damien Arrachequesne
176d7abd02 [chore] Bump engine.io-parser to version 2.0.0 (#525) 2016-12-30 16:24:12 +01:00
Damien Arrachequesne
bbffbd5db9 [chore] Bump engine.io-parser to version 2.0.0 (#463) 2016-12-30 16:23:59 +01:00
Ian Bro
a27802e19e [fix] Prevent null from being accepted as argument (#2606) 2016-12-30 16:22:16 +01:00
Gatsbill
c46d4481bd [perf] micro-optimisations (#2793) 2016-12-30 16:18:09 +01:00
bananaapple
d82190016f [docs] Add install script on Readme.md (#2780) 2016-12-30 16:11:26 +01:00
Damien Arrachequesne
255b845596 [docs] API documentation (#2784) 2016-12-30 16:10:54 +01:00
Damien Arrachequesne
1e2323092b [chore] Update zuul config to speed up tests (#526) 2016-12-23 13:58:28 +01:00
Damien Arrachequesne
36ba01da98 [chore] release 2.0.0 2016-12-23 11:06:36 +01:00
Gatsbill
89a465a4b8 [perf] Micro optimisations (#84) 2016-12-23 07:19:13 +01:00
Damien Arrachequesne
558163d766 [docs] API documentation (#1049) 2016-12-22 09:06:14 +01:00
Damien Arrachequesne
f72f6f3fa6 [fix] allowRequest failures now return 403 Forbidden (#452) 2016-12-22 08:41:51 +01:00
Damien Arrachequesne
d1c2680ca9 [fix] Sanitize strings by removing lone surrogates (#82) 2016-12-21 22:01:19 +01:00
Billouboq
2d83f9da17 [perf] Use strict equality where possible (#77) 2016-12-21 09:52:23 +01:00
Damien Arrachequesne
ebf92a5097 [style] Minor style changes (#83) 2016-12-21 09:31:14 +01:00
Damien Arrachequesne
181acef657 [fix] Fix double utf8 encoding for payloads (#81) 2016-12-21 09:15:07 +01:00
Damien Arrachequesne
339d367267 [chore] Update zuul config to speed up tests (#76) 2016-12-21 08:59:06 +01:00
Damien Arrachequesne
c2d0a08d7f [refactor] Remove useless variable (#55) 2016-12-17 03:34:00 +01:00
Damien Arrachequesne
aed82572ba [chore] Bump dependencies (#56)
- bump debug to version 2.3.3
- bump component-emitter to version 1.2.1
- bump benchmark to version 2.1.2
- bump expect.js to version 0.3.1
- bump mocha to version 3.2.0
- bump zuul to version 3.11.1
2016-12-17 03:33:44 +01:00
Gatsbill
9072faa1e1 [refactor] Remove unused var (#53) 2016-12-17 02:33:05 +01:00
Gatsbill
97721957b9 [refactor] Use strict equality when possible (#52) 2016-12-17 02:32:21 +01:00
Jérémy Lal
e144dc17ad [test] Fix test failure by increasing pingTimeout (#461) 2016-12-12 22:02:54 +01:00
Jérémy Lal
7e50871c41 [chore] Use uws as default wsEngine, and ws as fallback (#459) 2016-12-12 22:02:03 +01:00
Damien Arrachequesne
177a65fc4a [chore] Release 1.7.2 (#1045) 2016-12-11 02:04:31 +01:00
Damien Arrachequesne
1f59e4526a [chore] Release 1.7.2 (#2783) 1.7.2 2016-12-11 02:04:21 +01:00
Damien Arrachequesne
766cef48c1 [chore] Bump engine.io-client to version 1.8.2 (#1044) 2016-12-11 01:38:19 +01:00
Damien Arrachequesne
9dec44a326 [chore] Speed up lint by avoiding '**/*.js' matching pattern (#1043) 2016-12-11 01:38:08 +01:00
Damien Arrachequesne
0a7afa85ea [chore] Bump engine.io to version 1.8.2 (#2782) 2016-12-11 01:27:19 +01:00
Damien Arrachequesne
70262f0e16 [chore] Release 1.8.2 (#524) 2016-12-11 00:26:02 +01:00
Damien Arrachequesne
10e3802051 [chore] Release 1.8.2 (#460) 2016-12-11 00:25:28 +01:00
Damien Arrachequesne
79955091f5 [fix] Add proper response when handleUpgrade fails (#458)
When the `verify` method fails, the current implementation closes the
connection immediately, which is understood by some proxy (such as
nginx) as if the server was not available (resulting in "upstream
prematurely closed connection while reading response header from
upstream" error). That commit make sure a proper response is sent
before closing the connection.
2016-12-10 22:01:18 +01:00
Damien Arrachequesne
b530bb039d [chore] Bump engine.io-parser to version 1.3.2 (#523) 2016-12-08 01:12:17 +01:00
Damien Arrachequesne
dd854a8803 [test] Use explicit versions for travis tests (#457) 2016-12-08 01:06:14 +01:00
Damien Arrachequesne
b5292c7826 [refactor] Remove deprecated code used for nodejs v0.8 (#456) 2016-12-08 01:01:10 +01:00
Damien Arrachequesne
7bbe456688 [chore] Bump engine.io-parser to version 1.3.2 (#455) 2016-12-08 00:55:15 +01:00
Damien Arrachequesne
77975d054a [chore] release 1.3.2 (#79) 2016-12-07 22:21:41 +01:00
Damien Arrachequesne
494eca0be0 [chore] Bump dependencies (#78)
- bump after to version 0.8.2
- bump has-binary to version 0.1.7
- bump mocha to version 3.2.0
- bump zuul to version 3.11.1
2016-12-07 22:15:59 +01:00
Gatsbill
01c6a12de5 [perf] websocket optimisation (#453) 2016-12-05 23:59:24 +01:00
Dominik Paľo
8450d03f06 [docs] Rename ServerRequest to IncomingMessage (#448)
`http.ServerRequest` did refer to the HTTP API of Nodejs prior to v0.10
2016-12-05 23:28:01 +01:00
Edgar Hipp
a1a0016512 [chore] Bump base64id to version 1.0.0 (#451) 2016-12-01 20:46:57 +01:00
Serhii Sol
1e31769062 [fix] Fixes socket.use error packet (#2772)
* fix(socket): Fixes socket.use error packet which drops nodejs due to nuances of Nodejs' EventEmitter

* fix(socket): Fixes missing error event on socket

* fix(socket): test fix, should listen for clientSocket instead of server socket

* minor update
2016-12-01 02:25:13 +01:00
Damien Arrachequesne
797c9a3498 [chore] Release 1.7.1 (#2768) 1.7.1 2016-11-28 00:06:18 +01:00
Damien Arrachequesne
8f18970aaf [chore] Release 1.7.1 (#1037) 2016-11-28 00:05:53 +01:00
Damien Arrachequesne
d47bbd802e [fix] Fix json import in slim build (#1036) 2016-11-27 23:37:42 +01:00
Damien Arrachequesne
1aa91eb4a0 [docs] Add saucelabs browser matrix in README (#1035) 2016-11-27 23:22:32 +01:00
Damien Arrachequesne
5ecf06afc9 [chore] Release 1.7.0 (#1033) 2016-11-27 08:27:59 +01:00
Damien Arrachequesne
4f93a0b429 [chore] Release 1.7.0 (#2767) 1.7.0 2016-11-27 08:27:39 +01:00
Damien Arrachequesne
3c98130f15 [chore] Update client location and serve minified file (#2766)
Following https://github.com/socketio/socket.io-client/pull/1025, the
output files are now generated in the dist directory.
2016-11-27 08:24:27 +01:00
Damien Arrachequesne
3d20b0f4c8 [chore] Bump engine.io-client to 1.8.1 (#1032) 2016-11-27 08:14:45 +01:00