cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Proxy-Connection Header

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 4 Jul 2006 13:23:15 +0200 (CEST)

On Tue, 4 Jul 2006, Toshiyuki Maezawa wrote:

> My understanding is that it sends only "Proxy-Connection: close", because a
> description of CURLOPT_HTTPHEADER in a manual says below.
>
> "If you add a header that is otherwise generated and used by
> libcurl internally, your added one will be used instead."
>
> Is this my misunderstanding or a bug? If it is a bug, a patch below
> seems to fix it.

It is clearly a bug and your fix looks fine! I'm committing it just now.
Thanks a lot!

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-07-04