Skip to content

Commit

Permalink
Actually fix big payloads / full buffers (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
kelunik committed Apr 25, 2016
1 parent a5fdaba commit 97694d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ private function connect() {
return;
}

$bytes = fwrite($this->socket, $this->outputBuffer, 8192);
$bytes = @fwrite($this->socket, $this->outputBuffer);

if ($bytes === 0) {
$this->state = self::STATE_DISCONNECTED;
Expand Down

0 comments on commit 97694d5

Please sign in to comment.