cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: META TAG is not received?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 23 May 2003 11:51:08 +0200 (CEST)

On Thu, 22 May 2003, Rudy Koento wrote:

> I'm not using a proxy and I don't have a public URL for this. It's
> actually an SMC barricade broadband router (SMC7004ABR) :(
>
> Is there anyway I can debug this? As I mention before, the difference is
> that this SMC router doesn't return HTTP header. Instead it only return
> raw html.

Ah, right. I just now added a test case (66) that returns nothing but a very
short one-liner without any headers, and I can repeat your problem.

That is a nasty HTTP-reply and the logic in libcurl to bail out from these
weird situation is getting more and more complicated. I should rewrite that
section of transfer.c one of these days.

The patch that fixes the problem for me can be retrieved from this URL:

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/curl/curl/lib/transfer.c.diff?r1=1.152&r2=1.153

Thanks for reporting!

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
Received on 2003-05-23