We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1efed4b commit 7afa7d7Copy full SHA for 7afa7d7
src/connection/StreamSocket.php
@@ -100,9 +100,6 @@ public function read(int $length = 2048): string
100
if (stream_get_meta_data($this->stream)["timed_out"])
101
throw ConnectionTimeoutException::createFromTimeout($this->timeout);
102
103
- if (empty($res))
104
- throw new ConnectException('Read error');
105
-
106
if (Bolt::$debug)
107
$this->printHex($res, false);
108
0 commit comments