curl-users
libcurl fread/send buffer size
From: Biju N <bijuatapache_at_gmail.com>
Date: Mon, 12 Feb 2018 09:47:50 -0500
Date: Mon, 12 Feb 2018 09:47:50 -0500
Hi There,
We have a wrapper code which uses libcurl to upload data from files.
Looking at the strace when it is run on a bare metal and a VM there is a
difference in the file read/send buffer size. On bare metal it uses 16 KB
and on VM it uses 8KB even though CURLOPT_BUFFERSIZE is not set explicitly.
Process on bare metal seems to use the expected default of 16 KB and on VM
it seems to be using a calculated optimal value. Is this the expected
behavior?
Thanks,
Biju
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-02-12