mirror of
https://github.com/YGGverse/gemini-php.git
synced 2026-03-31 17:05:29 +00:00
reduce default chunk size
This commit is contained in:
parent
ad6b35d6f7
commit
e3f4786f9e
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ class Request
|
||||||
public function getResponse(
|
public function getResponse(
|
||||||
int $timeout = 30, // socket timeout, useful for offline resources
|
int $timeout = 30, // socket timeout, useful for offline resources
|
||||||
?int $limit = null, // content length, null for unlimited
|
?int $limit = null, // content length, null for unlimited
|
||||||
int $chunk = 1024, // chunk size, it's better change it later to 1 @TODO
|
int $chunk = 1, // chunk size in bytes
|
||||||
int &$length = 0, // current response length, do not change without special needs
|
int &$length = 0, // current response length, do not change without special needs
|
||||||
?int &$code = null, // error code for debug
|
?int &$code = null, // error code for debug
|
||||||
?string &$message = null, // error message for debug
|
?string &$message = null, // error message for debug
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue