Commit Graph

229 Commits

Author SHA1 Message Date
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
Matt Bonneau
85ed94d5cb Fix unsolicited pong crash with keep alive enabled. Fixes #430 2016-05-26 00:39:14 -04:00
Chris Boden
f5e8a18341 Added unit tests for serialize, formatting 2016-05-25 08:44:41 -04:00
Chris Boden
3541db2dc7 Version indicators, remove UTF-8 disabling tests 2016-03-12 10:29:26 -05:00
Chris Boden
e3aecdf021 Alternative approach to binary messaging
A new interface the dev can implement that will pass a
Message object to the devs instance. The object has
properties regarding binary/text
2016-03-01 14:11:15 -05:00
Chris Boden
7e42bfe2ac Pass message value, isBinary indicator
Passing message contents instead of string to keep BC
Passing isBinary indicator regardless of interface
2016-02-27 13:04:10 -05:00
Chris Boden
2283bdf288 Binary messaging support
Least obtrusive interface
2016-02-24 18:55:04 -05: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
Chris Boden
6b247c0525 PSR-4, v0.3.3 2015-05-27 08:51:05 -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
Laurynas Veržukauskas
27d3939d30 Test added 2014-03-18 22:28:18 +02:00
Chris Boden
930130cab3 [Session] Construct/onOpen use HttpServerInterface 2014-02-17 11:29:43 -05:00
Chris Boden
c11ecd9fb4 [Sessions] Decouple interface from WS, align with HTTP 2014-02-17 11:23:35 -05:00
Chris Boden
dffb8d2c1f [WAMP] CS, added unit tests for new features, 100% on WAMP 2014-02-16 19:09:54 -05:00