On Wed, 18 Dec 2019, Kunal Ekawde wrote:

Ok, here is the example I've verified above behavior with local HTTP/2
server, this is based on http2-download.c example

Thank you, that certainly pin-pointed your observation nicely!

The bug is here:

https://github.com/curl/curl/blob/14f8b6e69e97e60f43c3188d2e22c10f05554a10/lib/url.c#L3602-L3610

... I'm pretty sure it comes from old Pipelining logic that is just wrong now.

Here's my PR to fix it:

https://github.com/curl/curl/pull/4732

--

 / daniel.haxx.se | Get the best commercial curl support there is - from me
                  | Private help, bug fixes, support, ports, new features
                  | https://www.wolfssl.com/contact/
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to