Merge tag 'v0.3.6'

This commit is contained in:
samizdam 2017-01-24 23:37:45 +03:00
commit 101f54dedc
4 changed files with 7 additions and 3 deletions

View File

@ -8,6 +8,10 @@ CHANGELOG
--- ---
* 0.3.6 (2017-01-06)
* BF: Keep host and scheme in HTTP request object attatched to connection
* BF: Return correct HTTP response (405) when non-GET request made
* 0.3.5 (2016-05-25) * 0.3.5 (2016-05-25)
* BF: Unmask responding close frame * BF: Unmask responding close frame

View File

@ -1,4 +1,4 @@
Copyright (c) 2011-2016 Chris Boden Copyright (c) 2011-2017 Chris Boden
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View File

@ -132,7 +132,7 @@ class App {
} }
} }
$this->routes->add('rr-' . ++$this->_routeCounter, new Route($path, array('_controller' => $decorated), array('Origin' => $this->httpHost), array(), $httpHost)); $this->routes->add('rr-' . ++$this->_routeCounter, new Route($path, array('_controller' => $decorated), array('Origin' => $this->httpHost), array(), $httpHost, array(), array('GET')));
return $decorated; return $decorated;
} }

View File

@ -5,7 +5,7 @@ namespace Ratchet;
* The version of Ratchet being used * The version of Ratchet being used
* @var string * @var string
*/ */
const VERSION = 'Ratchet/0.3.5'; const VERSION = 'Ratchet/0.3.6';
/** /**
* A proxy object representing a connection to the application * A proxy object representing a connection to the application