Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Re: Connection re-use w.r.t HTTP/1.1 and HTTP/2.0
From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Wed, 18 Dec 2019 14:06:36 +0100 (CET)
Date: Wed, 18 Dec 2019 14:06:36 +0100 (CET)
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.htmlReceived on 2019-12-18