Commit Graph

28 Commits

Author SHA1 Message Date
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
343ecdfa0f Filter all keys starting with underscore 2014-03-18 22:28:19 +02:00
Vincent Dieltiens
74fb2a691b [Router] Update the Url QueryString of the request object with the parameters return by the UrlMatcher to let the developer access thoses parameters 2014-03-18 22:28:17 +02:00
Loïc Doignié
1370cb6109 This modification gives Ratchet its own RequestFactory instance.
This way you can use guzzle as REST Client.
2013-10-08 08:51:25 +02:00
Chris Boden
6559aaf1d4 [Http] Fixed bug in Origin check - browser may pass http:// 2013-08-05 16:23:38 -04:00
Chris Boden
4039a643ea API docs on new features 2013-07-22 21:03:19 -04: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
0cf4b614a1 5.5 tests 2013-07-20 14:52:18 -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
f4ddea5f44 Removed updating remoteAddress via proxy header 2013-05-29 07:51:33 -04:00
Chris Boden
8b3591ce0d App class 2013-05-08 20:44:01 -04:00
Chris Boden
1ff7998f58 [Http] Only update remoteAddress if local and header 2013-05-02 19:17:47 -04:00
Chris Boden
cd0efed085 Set $conn->remoteAddress if proxy forwarded
Refs #89
2013-05-01 19:42:15 -04:00
Chris Boden
1622caadad [Http][Router] Fixed bugs found from unit tests 2013-04-30 21:24:39 -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
8df459548f [WebSocket][Http] Bug fix WS require nullifying, more strict on Request parameter 2013-04-28 09:55:43 -04:00
Chris Boden
1ea0bd3255 [Http] Cleanup and parse error fix 2013-04-27 16:51:24 -04:00
Chris Boden
26a760709f [Http] Facade class for routing
Not sure if it'll stick or not, but easier way to route for now
Refs #15
2013-04-27 00:05:10 -04:00
Chris Boden
4df71c3a35 [Http] ROUTING BABY
Decoupled routing from HTTP
Added Router implement HttpServerInterface
Fully functional Symfony routes in application!
As a result, this drastically decreased backwards compatibility breaks while introducing new functionality
2013-04-26 23:01:28 -04:00
Chris Boden
c24cdf379e [Http] Accept RouteCollection, spike CORS protection 2013-04-26 21:06:34 -04:00
Chris Boden
4a87375f10 [Http] HttpServerInterface
Force HttpServerInterface on route
Call controller on all events
2013-04-26 20:00:11 -04:00
Chris Boden
43003d69f9 [Http] Only pass Request, don't store (twice) 2013-04-26 19:19:47 -04:00
Chris Boden
18bc114408 [Http] Routing spike 2013-04-16 22:37:15 -04:00
Chris Boden
423b5cc355 [Http] Refactor header parsing from WS to HTTP 2013-04-14 18:34:28 -04:00
Chris Boden
7b2b6897e5 HTTP Decouple spike 2013-04-14 18:23:12 -04:00