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.

Duplicated header with --proxy and -H "Proxy-Connection: Keep-Alive"

From: Fabian Keil via curl-library <curl-library_at_cool.haxx.se>
Date: Sun, 17 Jan 2021 15:33:09 +0100

While writing a Privoxy test for client header sorting I
noticed that calling curl with --proxy and
-H "Proxy-Connection: Keep-Alive" to get a http:// resource
currently results in two Proxy-Connection headers being
sent instead of one.

Setting the Proxy-Connection header with --proxy-header works
as expected (by me) and only results in one Proxy-Connection
being sent.

Attached are two tests, the first one currently fails.

Is this a bug or a feature that may deserve documentation?

Fabian


-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.se/mail/etiquette.html
Received on 2021-01-17