curl / Mailing Lists / curl-library / Single Mail
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: Kunal Ekawde via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 19 Dec 2019 01:45:04 +0530

On Wed, Dec 18, 2019 at 6:36 PM Daniel Stenberg <daniel_at_haxx.se> wrote:
>
> 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
>

Sure, thanks a lot for addressing this, I shall also verify with my other tests.

> --
>
> / 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/

-- 
~Kunal
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2019-12-18