mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
Optimize reading of large files when using php-smbclient
This commit is contained in:
parent
4ca899f582
commit
8c89cb8972
3 changed files with 108 additions and 7 deletions
|
|
@ -233,7 +233,7 @@ class NativeShare extends AbstractShare {
|
|||
public function read($source) {
|
||||
$url = $this->buildUrl($source);
|
||||
$handle = $this->state->open($url, 'r');
|
||||
return NativeStream::wrap($this->state, $handle, 'r', $url);
|
||||
return NativeReadStream::wrap($this->state, $handle, 'r', $url);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue