dont buffer output when we're handling it in a callback

This commit is contained in:
Robin Appelman 2016-04-26 12:08:43 +02:00
commit bbac31c5b0

View file

@ -64,8 +64,9 @@ class Connection extends RawConnection {
if ($result === false) { // allow the callback to close the connection for infinite running commands if ($result === false) { // allow the callback to close the connection for infinite running commands
$this->close(true); $this->close(true);
} }
} } else {
$output[] .= $line; $output[] .= $line;
}
$line = $this->readLine(); $line = $this->readLine();
} }
return $output; return $output;