Commit Graph

208 Commits

Author SHA1 Message Date
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
Chris Boden
37d1339359 [Tests] Refactor AB Fuzzing
AbFuzzyServer is now first class EchoServer
Updated meta files
Cleaned up a WAMP unit test slightly
composer alpha7
2013-05-08 20:32:02 -04:00
Chris Boden
8c05486740 [Server] Full coverage on flash 2013-04-30 21:30:16 -04:00
Chris Boden
ec9bef4ee1 [Http] Router tests 2013-04-30 21:09:49 -04:00
Chris Boden
4c1073883a [Tests] Skip serializer if not available (TravisCI) 2013-04-28 15:58:22 -04:00
Chris Boden
344818d0f5 [Tests] Bring up unit testing coverage
Coverage on Http and Session
Set version to 0.3-beta
Cleaned up a couple API doc things
Removed Origin code from RFC, will be moved to Http
2013-04-28 15:25:16 -04:00
Chris Boden
1ea0bd3255 [Http] Cleanup and parse error fix 2013-04-27 16:51:24 -04:00
Chris Boden
38df976768 [Http] Fixed tests, upgraded React 2013-04-27 11:22:56 -04:00
Chris Boden
5c41b2fbe1 [Http][Tests] Refactored unit tests, added new for HTTP 2013-04-27 10:27:45 -04:00