cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: curl 7.7 beta 2 at your service

From: <Joern.Hartroth_at_comma-soft.com>
Date: Tue, 13 Mar 2001 17:55:33 +0100

Ok, the fix does appear to mask the error for the time being.
Thanks for the quick reply.

Cheers,
    Jörn

> -----Original Message-----
> From: Daniel Stenberg [mailto:daniel_at_haxx.se]
> Sent: Tuesday, March 13, 2001 5:07 PM
> To: Curl Mailinglist
> Subject: RE: curl 7.7 beta 2 at your service
>
>
> On Tue, 13 Mar 2001 Joern.Hartroth_at_comma-soft.com wrote:
>
> > 'couple of quirks detected when trying to compile curl 7.7 beta 2 on
> > MingW32. I'll check them into cvs tonight if I can get the
> connection up.
> >
> > Also, I'm getting CURLE_READ_ERRORs after 4k of downloaded
> content when
> > trying to read a page via https.
> > Example:
> > curl http://www.zedz.net/index.html works,
> > curl https://www.zedz.net/index.html fails after 4096 bytes.
>
> Thanks!
>
> This turns out to be a problem in my chunked
> transfer-encoding parser. I have
> to analyze this a bit more. This seems to be a fix that at
> least hides this
> problem for now:
>
> diff -u -r1.3 http_chunks.c
> --- http_chunks.c 2001/03/12 15:20:35 1.3
> +++ http_chunks.c 2001/03/13 16:04:56
> @@ -122,7 +122,7 @@
> if(0 == ch->hexindex) {
> /* This is illegal data, we received junk where we expected
> a hexadecimal digit. */
> - return CHUNKE_ILLEGAL_HEX;
> + /*return CHUNKE_ILLEGAL_HEX;*/
> }
> /* length and datap are unmodified */
> ch->hexbuffer[ch->hexindex]=0;
>
> --
> Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
>
Received on 2001-03-13