cURL / Mailing Lists / curl-library / Single Mail

curl-library

Apple's HEAD needs not close patch

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 4 Nov 2011 23:36:20 +0100 (CET)

Hey

I also found this patch among Apple's bunch that seems to address a problem
where we mark a connection to get marked for closure: "no chunk, no close, no
size. Assume close to signal end".

http://www.opensource.apple.com/source/curl/curl-68/patches/DiskImages-6103805.patch

The patch makes sure this doesn't happen for HEAD requests, and I believe that
is correct since HEAD requests never have any response body.

Comments?

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