On Tue, 7 Aug 2018, cjmsoregan via curl-library wrote:
I have run into an issue in libcurl where the uploaded size obtained via
CURLINFO_SIZE_UPLOAD is not measured correctly if the Expect header is
removed.
Thank you!
I could reproduce the issue using your code. I first submitted it as a bug on
github [1], then I converted your code into a test case that also proved the
problem, applied your patch that worked fine and fixes it and then made a PR
out the entire thing [2].
That PR is running through CI builds right now.
[1] = https://github.com/curl/curl/issues/2847
[2] = https://github.com/curl/curl/pull/2864
--
/ daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html