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: HTTP/3 options

From: Dmitry Karpov via curl-library <curl-library_at_lists.haxx.se>
Date: Thu, 12 Jan 2023 22:17:21 +0000

> Sure, but we also have to accept that you might try a h3 request to an old server on the other side of the globe via a slow network.
> A 50-100 ms delay maybe?

I would use 50ms as the default (the lowest in your range 😊).
If h3 server is slow to respond then we may waste one or a few connection attempts, but this interval will still help to switch relatively quickly to H2/TCP
in case if UDP is blocked by some middleware.

Thanks,
Dmitry Karpov


-----Original Message-----
From: Daniel Stenberg <daniel_at_haxx.se>
Sent: Thursday, January 12, 2023 1:56 PM
To: Dmitry Karpov via curl-library <curl-library_at_lists.haxx.se>
Cc: Dmitry Karpov <dkarpov_at_roku.com>
Subject: [EXTERNAL] Re: HTTP/3 options

On Thu, 12 Jan 2023, Dmitry Karpov via curl-library wrote:

> Daniel, a question about the "Happy eyeballs everything!" section in
> the blog. Is the "happy eyeballs" interval between H3 and H2 going to
> be controlled by the same option as the interval between IPv6 and IPv4
> or there will be a special option for that?

I imagine that we start out with a fixed mostly arbitrary delay that we think works and then if someone insists and gives a good reason we make it an option.

> I am asking because QUIC in H3 is supposed to provide a very quick
> connection start, so the HE interval between H3 and H2 can be made
> shorter than between IPv6 and IPv4, thus allowing faster switch to
> H2/H1 if UDP is blocked.

Sure, but we also have to accept that you might try a h3 request to an old server on the other side of the globe via a slow network.

A 50-100 ms delay maybe?

--

  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://curl.se/support.html
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2023-01-12