cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Reading a router

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 9 Feb 2006 20:21:59 +0100 (CET)

On Thu, 9 Feb 2006, Alan Reinhart wrote:

> < Content-Type: text/html
> < Transfer-Encoding: chunked
> * Received problem 2 in the chunky parser
> * Closing connection #0
> curl: (56) Received problem 2 in the chunky parser

This is interesting. I figure Firefox and similar browsers can view this fine?
Any chance you can --trace dumpfile and show us that? It might reveal what the
problem with the chunked stream is.

> Išve searched all around and can find no options on how either over-ride the
> transfer-encoding or tell CURL to to use it. Can this even be done?

Sure, enforce HTTP 1.0 with the -0 option as the server must not respond with
a chunked response then!

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-02-09