Patch for V0.4
dear,
Here is a patch to fix a crash when a connection is openned and keepAlive is requested
Notice: Undefined variable: from in C:\xampp\htdocs\x1601\api\vendor\cboden\ratchet\src\Ratchet\WebSocket\WsServer.php on line 214
Warning: SplObjectStorage::offsetGet() expects parameter 1 to be object, null given in C:\xampp\htdocs\x1601\api\vendor\cboden\ratchet\src\Ratchet\WebSocket\WsServer.php on line 214
Notice: Trying to get property of non-object in C:\xampp\htdocs\x1601\api\vendor\cboden\ratchet\src\Ratchet\WebSocket\WsServer.php on line 214
Fatal error: Call to a member function send() on null in C:\xampp\htdocs\x1601\api\vendor\cboden\ratchet\src\Ratchet\WebSocket\WsServer.php on line 216
Patch removed, see pull request : https://github.com/ratchetphp/Ratchet/pull/413
Hello, you should use the pull request system for your patch :) .
(it could be awesome to add a test)
Yeah, but I couldn't find a way to do it. I commited in local but then couldn't push or create a pull request (I think I must push before do that) , so I just put the patch as text here... I also put another patch in RFC dependencie that fix connexion refused from Firefox.
On Thu, Apr 7, 2016, 23:27 Maxime Veber [email protected] wrote:
Hello, you should use the pull request systm for your patch :) .
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/ratchetphp/Ratchet/issues/411#issuecomment-207094433
You can change the code online and github will create a pull request for you ;)
@Kurairaito the workflow is to create a fork, make a branch, then a PR to the main project ! You can't create branches on this project.
Done, I hope I did it well. I didn't know this side of github thanks.
Merged in RFC6455 library