curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl http2 connection reuse

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 13 Jan 2018 11:50:36 +0100 (CET)

On Wed, 10 Jan 2018, lali .cpp via curl-library wrote:

> Now the problem is that whenever a server is unable to send a response in
> 200ms(lets call this event a timeout), libcurl tearsdown the underlying TCP
> connection established with this server, which adds the overhead of
> connection establishment(which increases a lot considering that I am using
> https) for a subsequent transaction with the same server.

A single HTTP/2 transfer that gets "cut off" early should not need to take
down the connection no, so if libcurl does that I consider that a bug, or at
least room for improvement.

Can you help us to create a test source code that reproduces this in a decent
way that we can use to work on a fix?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2018-01-13