https://github.com/reactphp/socket/blob/master/src/Connection.php#L44 should not only check for falsebut also for "\0" according to https://bugs.php.net/bug.php?id=74458 https://bugs.php.net/bug.php?id=74556.
Discovered through reactphp/http#160 (comment). Since ratchet still uses 0.5 it would be great if this could also be back ported to 0.5...0.7.
https://github.com/reactphp/socket/blob/master/src/Connection.php#L44 should not only check for
falsebut also for"\0"according tohttps://bugs.php.net/bug.php?id=74458https://bugs.php.net/bug.php?id=74556.Discovered through reactphp/http#160 (comment). Since ratchet still uses 0.5 it would be great if this could also be back ported to 0.5...0.7.