Skip to content

Comments

Avoid causing libcurl to use chunked Transfer-Encoding for POST bodies#155

Open
mbaynton wants to merge 1 commit intorstudio:mainfrom
mbaynton:chunked-fix
Open

Avoid causing libcurl to use chunked Transfer-Encoding for POST bodies#155
mbaynton wants to merge 1 commit intorstudio:mainfrom
mbaynton:chunked-fix

Conversation

@mbaynton
Copy link

For #154 I had success by preventing the recorder proxy from employing chunked Transfer-Encoding. It seemed like connect et. al just don't do well when given properly formed chunked requests.

Here's someone driving libcurl with PHP who had a similar issue: php/php-src#8165
Based on the age of that, I wonder if cURL going to chunked Transfer-Encoding when it is uploading from CURLOPT_READFUNCTION and the length hasn't been provided ahead of time is a newer behavior.

Disclaimer: I don't really write much R 🙃

@mbaynton mbaynton changed the title Avoid causing libcurl to use chunked Transfer-Encoding Avoid causing libcurl to use chunked Transfer-Encoding for POST bodies May 16, 2022
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Mike Baynton seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants