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 16:51:07 +0200 (CEST)

On Mon, 23 May 2022, Fabian Keil via curl-library wrote:

> Looking into this some more I noticed another issue in the log:
>
> 14:12:58.974144 == Info: Alt-svc connecting from [h1]whohoo.:12345 to [h1]127.0.0.1:20000
> [...]
> 14:12:58.980989 => Send header, 111 bytes (0x6f)
> 0000: GET /412 HTTP/1.1
> 0013: Host: whohoo.:12345
>
> If I'm not mistaken this should actually be "Host: 127.0.0.1:20000".

Why? It's alt-svc, not a redirect. It's the same host on another place.

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