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: Expected behaviour of CURL_ALTSVC_HTTP and --proxy

From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Mon, 23 May 2022 00:25:19 +0200 (CEST)

On Sat, 21 May 2022, Fabian Keil via curl-library wrote:

> The recently added tests 412 and 413 fail when using Privoxy as proxy.
>
> Looking at the trace output it seems that curl is tunnelling
> the requests when --proxy is being used even though it's vanilla
> http:// and not https://:

...

> Is that the expected behaviour or a bug?

It sounds like a bug. But we only allow alt-svc for HTTP in debug-builds (with
the necessary environment variable set) for testing, so in a release build
this would never happen...

-- 
  / 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.haxx.se/mail/etiquette.html
Received on 2022-05-23