On Tue, 14 Aug 2012, 黎小辉 wrote:

Why collection:close not be sent to the server when my app used "curl_easy_setopt(fileData->curl, CURLOPT_FORBID_REUSE, 1)" ?

I agree that it should send that header in this case and I can't recall any good reason why it doesn't already.

It should be noted however that a client can always just disconnect anyway whatever it says to the server so the use of that header doesn't really make much of a difference in reality. The fact that libcurl doesn't send it now and yet it works fine enough for millions of users is a good hint too.

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to