cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: HTTP 1.0 and multi handle question

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 30 Aug 2004 12:37:06 +0200 (CEST)

On Mon, 30 Aug 2004, Roman Koifman wrote:

> I think that in case of HTTP 1.0 the default shouldn't be persistant. I
> suppose it will fix the situation. Am I correct ?

I _think_ the proper action here is to make libcurl deal with the
"Proxy-Connection: close" header properly.

> You right, the "Proxy-Connection : close" header is not defined in the RFC,
> but it is used in a wild.

Right. I was rather silly, as libcurl already supports that header when a 1.0
response is received from a proxy and told to keep-alive.

I'm starting to forget things. Am I getting old? ;-P

Can you try the attached patch and see if it fixes your problem?

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html

Received on 2004-08-30