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 b655d26 commit bb7900dCopy full SHA for bb7900d
src/connection/Socket.php
@@ -74,7 +74,7 @@ public function write(string $buffer)
74
if (Bolt::$debug)
75
$this->printHex($buffer);
76
77
- while ($sent < $size) {
+ while (0 < $size) {
78
$sent = socket_write($this->socket, $buffer, $size);
79
if ($sent === false) {
80
$code = socket_last_error($this->socket);
0 commit comments