cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Double accept-header upon easy handle reuse

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 13 Aug 2008 13:02:34 +0200 (CEST)

On Wed, 13 Aug 2008, Gabriel Kälin wrote:

>> http://curl.haxx.se/lxr/source/docs/examples/httpcustomheader.c
>
> thanks for the test. Yes, I forgot to mention that I used libcurl 7.18.0.
> I've just now compiled libcurl 7.18.2 and replayed your test. The second
> request looks then like:
>
> GET / HTTP/1.1
> Host: server
> Accept: */*
> Accept: moo
>
> ...still including two Accept headers. So with libcurl 7.18.2 I can still
> observe the unwanted behavior.

Now that's curious since I just rebuilt my test program with 7.18.2 in my end
and I don't get this problem.

And you know what? The CHANGES file even mentions this particular bug fix,
which was done in the 7.18.1 release...

-- 
  / daniel.haxx.se
Received on 2008-08-13