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: Fabian Keil via curl-library <curl-library_at_lists.haxx.se>
Date: Tue, 24 May 2022 13:24:03 +0200

Daniel Stenberg <daniel_at_haxx.se> wrote on 2022-05-23 at 16:51:07:

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

You're right, I was mistaken.

Fabian


-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2022-05-24