Commit Graph

216 Commits

Author SHA1 Message Date
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
Konstantin Burkalev
48352fce63 Code fix for pull request 165 2014-02-11 11:16:25 +04:00
Konstantin Burkalev
646c2e263a Slightly modified TopicTest to support new broadcast params 2014-02-09 14:50:07 +04:00
Chris Boden
0adf940068 [Tests] Added AB LibEv to suite, cleaned up scripts 2014-01-27 07:51:21 -05:00
Benjamin Zikarsky
1432e4f954 Skip test when pdo_sqlite isn't there but PDO is 2013-12-20 18:45:54 +01:00
Chris Boden
f50af83fa7 [Http][Security] OriginCheck + same host/origin policy
Added the Http\OriginCheck component that will only allow connections coming from desired Origins
Same host+origin policy by default: App.php, by default, will only allow connections from the given hostname
Fixes #102
2013-07-20 18:41:08 -04:00
Chris Boden
5676161277 [WebSocket] Only select one sub-protocol, fixes #103 2013-07-20 12:38:23 -04:00
Chris Boden
9a50835637 [WAMP] Message verification, fixes #105
Validate all messages follow WAMP protocol
2013-07-20 12:31:44 -04:00
Chris Boden
0dad9f1c03 Removed libuv test 2013-07-20 11:14:20 -04:00
Chris Boden
b1b5fbe1a7 [Tests] Added Guzzle integration tests 2013-06-16 17:40:38 -04:00
Chris Boden
a876770cda [Tests] Restructured test filesystem layout 2013-06-16 10:12:48 -04:00
Chris Boden
0edd37af3f Hostname check verification refs #102
host parameter of App now verified on incoming connections
2013-06-09 14:09:57 -04:00
Chris Boden
40f267834a Merge branch 'refs/heads/master' (v0.2.7) into 0.3
Conflicts:
	CHANGELOG.md
	composer.json
	composer.lock
	src/Ratchet/ConnectionInterface.php
	src/Ratchet/WebSocket/Version/HyBi10.php
	src/Ratchet/WebSocket/Version/RFC6455.php
	src/Ratchet/WebSocket/WsServer.php
2013-06-09 12:04:42 -04:00
Chris Boden
435315c782 Fixed broken unit test with Symfony 2.3 2013-06-09 11:21:39 -04:00