Mac OS X
Components Crossplatform Mac & Win Server Client Old Guides Examples
New in version: 7.2 7.3 7.4 7.5 8.0 8.1 8.2 8.3 8.4 8.5 Statistic
Set preferred upload buffer size.
|Component||Version||macOS||Windows||Server||FileMaker Cloud||FileMaker iOS SDK|
|curl||The CURL session handle.||$curl|
|Value||The new buffer size.|
Returns OK or error.
DescriptionSet preferred upload buffer size.
Pass an integer specifying your preferred size (in bytes) for the upload buffer in libcurl. It makes libcurl uses a larger buffer that gets passed to the next layer in the stack to get sent off. In some setups and for some protocols, there's a huge performance benefit of having a larger upload buffer.
This is just treated as a request, not an order. You cannot be guaranteed to actually get the given size.
The upload buffer size is by default 64 kilobytes. The maximum buffer size allowed to be set is 2 megabytes. The minimum buffer size allowed to be set is 16 kilobytes.
Since curl 7.61.1 the upload buffer is allocated on-demand - so if the handle isn't used for upload, this buffer will not be allocated at all.
See also UPLOAD_BUFFERSIZE option in CURL manual.
Created 31st October 2018, last changed 31st October 2018
Feedback: Report problem or ask question.
MBS FileMaker Plugins