Evgeny Stepanovych
Evgeny Stepanovych
@Hywan https://github.com/undsoft/hoa-websocket-bug
When is this going to be merged in? Websocket server is not really usable without this.
@Pierozi Keep in mind that this single fix is not enough. There are additional changes that need to be made to Websocket lib. For example: ``` hoa/websocket/Server.php: $buffer = $connection->read(2048);...
@Pierozi In my case the handshake header is 580 characters, but read() function is expecting a length of 2048. `$connection->read(2048);` It keeps looping trying to read the string that is...
@Pierozi Yeah, I don't know if this is my local config or something, but the way it works for me is this: 1. Execution enters read(2048). 2. stream_socket_recvfrom() reads the...
@Pierozi I can hack around this by adding another param: ```php public function read($length, $flags = 0, $keepReading = true) { if (null === $this->getStream()) { throw new Socket\Exception( 'Cannot...
Same. The repository either needs to be fixed or archived.
There wasn't any movement on this PR for more than a month, so I'm going to close it for now. Please reopen when ready.