Commit Graph

61 Commits

Author SHA1 Message Date
Chris Boden
08480d1811 Fix case on futureTick 2021-12-12 11:42:12 -05:00
Chris Boden
6512da0c6c Lock minimum implicity dependency 2021-12-12 11:35:34 -05:00
Chris Boden
05b1e85365 Replace futureTick for older versions 2021-12-12 11:27:06 -05:00
Chris Boden
c5920ac1ce Skip Session tests until ini_set issue resolved 2021-12-12 11:19:46 -05:00
Chris Boden
8a00b66715 Stop using removed tick method 2019-03-10 12:59:44 -04:00
Chris Boden
5dbbbbeb75 Merge branch 'router-race-fix' 2017-12-11 19:37:52 -05:00
Chris Boden
1aafdac3ff Let's add an assertion to the test for fun :) 2017-10-14 23:12:27 -04:00
Chris Boden
444d4b5b55 Test impatient client sending body 2017-10-14 23:03:09 -04:00
Chris Boden
309564cbf1 Close connection if invalid topic 2017-10-14 21:19:07 -04:00
Chris Boden
810429a6fe Re-encode topic from WAMP msg to safeguard
The client is supposed to send a string as a topic but we're goign to re-json'ify the topic in case of bad client input.

fixes #516
2017-10-01 11:11:38 -04:00
Chris Boden
0f827b13c9 Remove Topic autoDelete option from WAMP
When a Topic reaches 0 subscribers it will be removed
New subscriptions to Topics that had the same name will create new Topics
refs #185, #198
2017-09-14 07:40:37 -04:00
Chris Boden
c5055fa6f2 Merge branch 'pr/485-react-socket' into 0.4
# Conflicts:
#	composer.json
2017-09-10 11:40:08 -04:00
Christian Lück
a86be3c526 Forward-compatibility with future Socket v1.0 and Socket v0.8
Socket v0.8 only contains some minor breaking changes, which can be
circumvented by ignoring URI schemes here.
Future Socket v1.0 will not contain any BC breaks, so it's actually
compatible with the last release.
2017-07-19 16:12:26 +02:00
Chris Boden
131204eaf5 Merge branch 'clue-labs/socket' into 0.4
# Conflicts:
#	composer.json
#	tests/autobahn/bin/fuzzingserver-noutf8.php
#	tests/autobahn/bin/fuzzingserver.php
2017-02-16 20:31:29 -05:00
Chris Boden
4cf38fe82e Merge branch 'master' into 0.4
# Conflicts:
#	CHANGELOG.md
#	src/Ratchet/ConnectionInterface.php
#	src/Ratchet/Http/Router.php
#	src/Ratchet/WebSocket/Version/RFC6455.php
#	tests/unit/Http/RouterTest.php
2017-02-16 20:14:25 -05:00
Christian Lück
b8967b999a Update Socket component to v0.5 2017-02-14 08:41:59 +01:00
samizdam
56c07ce4b8 Factory new Request Url from url, instead path only: keep original request host, scheme, etc. 2016-11-25 21:26:12 +03:00
Chris Boden
f5e8a18341 Added unit tests for serialize, formatting 2016-05-25 08:44:41 -04:00
Chris Boden
1b4c534e6a Merge branch '0.4-wip/psr7' into 0.4
# Conflicts:
#	composer.json
#	src/Ratchet/WebSocket/WsServer.php
2016-02-24 18:08:03 -05:00
Chris Boden
5937851fac Skip PDO test if extension missing 2016-02-17 17:29:03 -05:00
Chris Boden
5ad0feface Merge branch 'master' into 0.4-merge-0.3.4
# Conflicts:
#	tests/unit/Session/SessionComponentTest.php
2016-02-15 17:51:14 -05:00
Chris Boden
c15e275584 Deleted deprecated tests from PSR-7 refactor
GuzzleTest -> no longer using Guzzle HTTP interfaces
WebSocket tests have been moved to RFC library
2016-02-11 18:33:50 -05:00
Chris Boden
1523f39956 Fixed Session unit tests from PSR-7 2016-02-11 18:30:35 -05:00
Chris Boden
524f879954 Fixed failing HTTP unit tests from PSR-7 2016-02-11 18:24:29 -05:00
Chris Boden
2f79840f30 Fixed Router/tests with PSR-7 integration 2016-02-11 17:52:33 -05:00
Sebastian Kroczek
39882fbb16 Fixes VirtualSessionStorage with pdo_sqlite as storage 2015-08-25 13:34:13 +02:00
Chris Boden
d0d7b67ad7 Ues pecl_http if available, cleanup
pecl_http if available to parse HTTP requests (5x faster)
Update ConnectionContext to match latest RFC interface
Removed Guzzle integration test (now using PSR-7 API)
2015-05-31 13:54:43 -04:00
Chris Boden
5fd0209419 Merge branch '0.4' into 0.4-wip/psr7
# Conflicts:
#	tests/unit/Session/SessionComponentTest.php
2015-05-30 10:37:26 -04:00
matt
db8814718d Fix and test for uncommon payload length issue 2015-05-25 17:05:40 -04:00
Chris Boden
47123de527 Fixed unit test for Symfony 2.6 2014-11-29 11:09:02 -05:00
Chris Boden
f4fe5c9d99 [sess] Attempt to fix Symfony 2.6 PDO error 2014-11-29 10:30:09 -05:00
Chris Boden
99285acca0 Merge branch 'benconnito' 2014-11-24 09:05:13 -05:00
Chris Boden
c179d60e77 Formatting, removed flash check 2014-11-23 11:40:06 -05:00
Chris Boden
3240c87733 Fragmented Hixie76 body test. refs #238 2014-10-19 12:21:58 -04:00
Chris Boden
3edd0cdd7e Added unit test for query parameter fix
closes #220
closes #228
closes #229
2014-09-14 11:19:37 -04:00
Chris Boden
1a47d4f5e4 Fix loss of query params in Router and unit test 2014-09-13 19:14:18 -04:00
Ben Connito
705423e0b3 more entropy on session id
all tests passing
2014-08-07 13:35:01 -04:00
Ben Connito
29e22a0a2e testPrefix passing 2014-08-07 12:34:00 -04:00
Chris Boden
b6ec4aa904 Merge branch 'refs/heads/master' into 0.4 2014-06-08 11:45:43 -04:00
Chris Boden
f22f209466 [WAMP] Errors
Cleaned up error handling and tests. refs #190
2014-06-07 11:35:54 -04:00
Chris Boden
f21a1951c6 [WAMP] Tests for new Topic autoDelete handling 2014-06-07 10:51:32 -04:00
Chris Boden
a0d858a638 [WAMP] Added autoDelete to Topics 2014-06-05 08:13:35 -04:00
Chris Boden
87de418446 Revert "Revert "Fixed a memory leak when a connection is closed the topics should also be removed if they are empty""
This reverts commit c86fdadcde.
2014-06-04 20:59:10 -04:00
Chris Boden
c86fdadcde Revert "Fixed a memory leak when a connection is closed the topics should also be removed if they are empty"
This reverts commit c089aea8eb.
2014-06-03 22:30:40 -04:00
Chris Boden
2691f26e9e Merge branch 'refs/heads/pr/cboden-session-refactor' into 0.4 2014-04-20 13:26:07 -04:00
Marc Easen
c089aea8eb Fixed a memory leak when a connection is closed the topics should also be removed if they are empty 2014-04-16 18:52:02 +01:00
Chris Boden
1153cfc9d4 Merge branch 'refs/heads/lyrixx-cs' 2014-04-13 11:44:51 -04:00
Grégoire Pineau
136e72d807 CS (trainling space) 2014-03-21 16:46:52 +01:00
Grégoire Pineau
3a8578bd17 CS (eof_ending) 2014-03-21 16:46:43 +01:00
Laurynas Veržukauskas
b7b0a6d2f4 PHP5.3 fix 2014-03-19 18:28:28 +02:00