cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: R: R: Curl exit when reply doesn't contain content-length

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 8 May 2007 22:14:24 +0200 (CEST)

On Tue, 8 May 2007, Luigi Grilli wrote:

BTW, it struck me that you could try enforcing HTTP 1.0 and possibly you could
get away without changes.

> I took a look at the code and if at the beginning seemed to be really hard
> it has not been so much difficult. I had a --forceclose option to curl and a
> CURLOPT_HTTP_FORCE_CLOSE option for the libcurl.

I'm not sure I like the name, but that's a very minor detail...

> Tomorrow I will post the patch. If someone can tell me if this list is ok to
> post patches or point me to the right place it would be great.

Posting here is okay when we discuss curl the tool. More dedicated development
and libcurl stuff is otherwise kept on the curl-library list.

> Anwyay now when I compile (I use mingw32) I don't get the usual libcurl.dll
> and libcurl.lib but I get a libcurl-4.dll that is double in size and no
> libcurl.lib. What I am missing?

Perhaps because the .dll file isn't stripped? You can generate a .lib file
using dlltool.

But for further windows-related stuff I'm really not the man to ask.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-05-08