cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Can a header get duplicated ?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 1 Jun 2011 00:08:34 +0200 (CEST)

On Tue, 31 May 2011, Jayaprakasam, Kannan wrote:

> We are using libcurl 7.15.1 in our product.

That's the version we relased on December 7th 2005...

> A bug has been reported in our product that following an "Empty reply from
> server" response when the server crashes due to some reason , the next
> request to the same url contains SOAP-Action and Content-Type headers
> present twice in the HTTP headers. We have not been able to reproduce the
> issue ourselves however. My suspicion is, is it possible that this may be
> possible due to persistent connections used by the curl library, that
> somehow in case of error scenarios the header gets duplicated?

I've never experienced that nor have I seen it reported before, but I
certainly cannot rule it out. I can't understand why a persistent connection
would somehow lead to a duplicated header!

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-06-01