Closed Alarmfifa closed 7 years ago
Added a second commit.
If we receive a message with length equal DEFAULT_RECEIVE_LENGTH here:
https://github.com/varspool/Wrench/blob/master/lib/Wrench/Socket/Socket.php#L314-L316
we try to re-read socket one more time. But it is wrong. If $metadata['unread_bytes'] == false
just stop reading.
If we send a message more then DEFAULT_RECEIVE_LENGTH server hangs on the second attempt to read