Re: curl 8.10.0 regression breaks uploads with HTTP/2 and http.postbuffer
- From
Daniel Stenberg <daniel@haxx.se>
- Date
- Sep 13, 2024, 11:04 UTC
- Message-ID
- <o8o7sn01-p918-34s5-387p-pprqo7499p8s@unkk.fr>
- In-Reply-To
- <ZuP168QTTMiv_DxH@pks.im>
On Fri, 13 Sep 2024, Patrick Steinhardt wrote:
> - In there we hit the `large_request` code path. We set up > CURLOPT_READFUNCTION and CURLOPT_SEEKFUNCTION. The callback that > uses our buffer is the one set up via CURLOPT_READFUNCTION, which is > `rpc_out()`.
Thanks, I ended up able to write a stand-alone reproducer. Stefan Eissing wrote up a fix that seems to fix the case for us at least and it would be great if you could test this in your end:
https://github.com/curl/curl/pull/14895
The actual code patch is tiny. The PR is mostly about adding test cases to reproduce and verify.
-- / daniel.haxx.se