mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
optimize sequential writes to stream
This commit is contained in:
parent
8c89cb8972
commit
85b101b701
2 changed files with 101 additions and 1 deletions
|
|
@ -248,7 +248,7 @@ class NativeShare extends AbstractShare {
|
|||
public function write($source) {
|
||||
$url = $this->buildUrl($source);
|
||||
$handle = $this->state->create($url);
|
||||
return NativeStream::wrap($this->state, $handle, 'w', $url);
|
||||
return NativeWriteStream::wrap($this->state, $handle, 'w', $url);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue