Guillermo Rauch
c79e787671
test: better timeout for stress test
2015-07-14 19:58:42 -07:00
Guillermo Rauch
12c6ee132d
improve test
2015-03-03 10:34:56 -08:00
Guillermo Rauch
125ab51338
test: added test for parser breakage
2015-03-03 10:08:26 -08:00
Guillermo Rauch
ef23c74bea
remove compression tests
2015-02-03 17:07:43 -08:00
Guillermo Rauch
49423d70bc
added failing tests
2015-02-03 17:04:33 -08:00
Guillermo Rauch
b8ded0d725
Merge pull request #1903 from rase-/add/volatile-tests
...
Added tests for volatile
2015-01-17 12:23:06 +00:00
Tony Kovanen
0523b655da
Add test for reconnection after server restarts
2015-01-14 17:22:50 +02:00
Roman Shtylman
ca82c09bf2
fix leaving unknown rooms
...
close #1670
2015-01-10 14:58:50 -08:00
Guillermo Rauch
bd479a9cd6
Merge pull request #1936 from drewblaisdell/master
...
Allow null or undefined origins when allowed origins is a function
2015-01-09 16:36:38 -08:00
Drew Blaisdell
a116d7765a
Allow null or undefined origins when allowed origins is a function
...
Requests without an Origin header previously caused an exception to be thrown if the allowed origins passed to the constructor was set to a dynamic function. Omitted origins are now set to an asterisk and passed properly to the origins function.
A test for this case is included in this commit.
2015-01-09 16:30:08 -08:00
Guillermo Rauch
1c6620d564
everything is fixed
2015-01-09 16:25:42 -08:00
Guillermo Rauch
dba462e6da
fix tests on 0.11
2015-01-09 16:24:24 -08:00
Tony Kovanen
d9996f0470
Added tests for volatile
2014-12-08 11:19:49 +02:00
Guillermo Rauch
4e4bbf918e
fix protocol violations and improve error handling ( fixes #1880 )
2014-11-21 04:16:37 +01:00
Guillermo Rauch
b49f5c82f2
syntax
2014-11-21 04:15:42 +01:00
Alex Jeng
136fe960b7
Made comments more consistent
2014-10-05 22:10:13 -07:00
Tony Kovanen
1b4f6a5324
Merge pull request #1777 from akamensky/dynamic-cors
...
Dynamic cors
2014-09-22 13:38:14 -06:00
Tony Kovanen
fa4fa3365a
Merge pull request #1690 from rase-/fix/resource-option-bc
...
Fix resource option BC with the set function
2014-09-22 12:27:35 -06:00
Tony Kovanen
ae9d5277a9
Add test to check that empty rooms are autopruned.
2014-09-20 11:12:26 -06:00
akamensky
1b90ae2587
Added test coverage for Server#origins(function) for dynamic CORS
2014-09-12 11:13:51 +08:00
Anup Bishnoi
f56d4acce6
testing for equivalence of namespaces starting with / or without
2014-08-19 22:19:50 +00:00
Anup Bishnoi
b3cb18d910
Added relevant tests
...
"" and "/" namespaces are checked for equivalence on server and client
2014-08-18 22:47:06 -04:00
Guillermo Rauch
a40068b5f3
Merge pull request #1688 from fdellabetta/server_side_namespace
...
client cannot connect to non-existing namespaces
2014-08-01 13:45:32 +01:00
Tony Kovanen
624e7cb14f
Fix splice arguments and socket.rooms value update in socket.leaveAll.
...
Hat tip @Marreck
2014-08-01 13:20:18 +02:00
Tony Kovanen
b4954d767a
Take the instance stored path value into account when attaching to eio if no option specified to attach directly
2014-07-23 19:58:44 +03:00
Filippo Della Betta
f6eb53f5e1
client cannot connect to non-existing namespaces
2014-07-22 13:58:13 +02:00
Tony Kovanen
54726105cb
Fixed handshake object address property and made the test case more strict.
2014-07-19 04:43:03 +03:00
Guillermo Rauch
480b1a05bd
test: added failing case for socket.disconnect and nsps
2014-07-15 10:52:23 -07:00
Guillermo Rauch
968e94e42b
Merge pull request #1655 from ysmood/fix_etag_header
...
We should use the standard http protocol to handler the etag header
2014-06-30 23:32:23 -07:00
Guillermo Rauch
c18ed5fd4d
Merge pull request #1646 from narcisoguillen/close_sio
...
Close sio
2014-06-30 19:10:26 -07:00
Narciso Guillen
4b89bce182
use ephemeral ports
2014-06-30 15:49:08 -05:00
Yad Smood
8c19eef07a
fix: We should use the standard http protocol to handler the etag
...
header.
2014-06-29 21:42:57 +08:00
Narciso Guillen
a1feca1bd3
Add close specs
2014-06-23 21:03:31 -05:00
Tony Kovanen
0954301d7e
Add test case for checking that reconnect_failed is fired only once upon failure
2014-06-21 17:14:15 +03:00
Tony Kovanen
71c253e992
Added test for duplicate events after manual reconnects
2014-06-19 01:49:00 +03:00
Kevin Roark
5812ddf2b0
added the client emit-buffer test
2014-06-01 23:20:42 -07:00
Kevin Roark
397944fcbe
big file tests
2014-05-30 20:40:44 -07:00
Guillermo Rauch
99f1ac9aae
Merge pull request #1563 from rase-/fix/no-disconnect-fired-for-nsp
...
Fix namespace iterator in disconnect
2014-05-30 16:40:59 -07:00
Tony Kovanen
ee8d0fbae0
Fix namespace iterator in disconnect
2014-05-31 02:25:28 +03:00
Tony Kovanen
318ae87f50
Add test case for emitting multibyte chars
2014-05-31 01:45:31 +03:00
Tony Kovanen
10adcb089e
Added socket.handshake BC object
2014-05-24 17:02:47 +03:00
Guillermo Rauch
0842729c1f
test: temporarily removing parser test
2014-04-28 11:16:59 -07:00
Kevin Roark
ce68fb3105
Merge branch 'upstream' into add/protocol-check
2014-04-14 12:43:01 -04:00
Tony Kovanen
f830899e39
Added backwards compatible settability of engine.io maxHttpBufferSize
...
Updated readme
2014-04-12 12:02:52 +03:00
Guillermo Rauch
3444f017bc
Merge pull request #1492 from kevin-roark/add/query-test
...
Added a test to check access to client query params
2014-04-11 10:57:04 -07:00
Kevin Roark
0588dc0fc4
Added a test to check access to client query params
...
It fails with the current upstream client! There is a pending PR to
make this test pass though.
2014-04-11 13:19:19 -04:00
Kevin Roark
f8b4d87331
added test that server and client using same protocol
2014-04-10 14:45:32 -04:00
Tony Kovanen
d33553a4bd
Added support for setting allowed origins
2014-04-09 22:34:53 +03:00
Tony Kovanen
656047536a
The set function in server can be used to set some attributes for backwards compatibility
2014-03-26 00:04:22 +02:00
Kevin Roark
a5ff1d854e
added some new tests, including binary with acks
2014-03-06 16:58:21 -05:00