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: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Wed, 4 Jan 2023 12:30:42 +0100 (CET)

On Wed, 4 Jan 2023, Stefan Eissing wrote:

> Would
>
> --proto h3,h2
> --proto http3,http2
> --proto http1-3
>
> work here?

Sure! If we want to overload that option with this information and consider
http3, http2 and http1 to be "protocols" I believe we can.

What might be a little confusing to user with that is that it already accepts
"http" and "https" as different protocols (schemes really) while "httpN"
affects the version used over both those schemes (http1 for both, http2 for
both, http3 only for https). Probably not a blocker.

I believe it could offer the flexibility we want as this also allows - and +
to exclude/include only specific choices from/to the default set.

The follow-up question is then of course how exactly that would map into one
or more libcurl option(s).

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