mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-04 01:34:07 +02:00
dont buffer output when we're handling it in a callback
This commit is contained in:
parent
cf23de2702
commit
bbac31c5b0
1 changed files with 2 additions and 1 deletions
|
|
@ -64,8 +64,9 @@ class Connection extends RawConnection {
|
|||
if ($result === false) { // allow the callback to close the connection for infinite running commands
|
||||
$this->close(true);
|
||||
}
|
||||
} else {
|
||||
$output[] .= $line;
|
||||
}
|
||||
$output[] .= $line;
|
||||
$line = $this->readLine();
|
||||
}
|
||||
return $output;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue