cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [mk-ca-bundle.pl] Missing Newline after chunk data

From: Guenter <lists_at_gknw.net>
Date: Mon, 26 Mar 2012 02:21:11 +0200

Hi Tim,
Am 25.03.2012 09:28, schrieb Tim Heckman:
> When trying to run the mk-ca-bundle.pl script on Mac OS X Lion 10.7.3 I
> receive the following error and the data it dies on is not always the same:
>
> ####
> ==============================================================================
> Script Version : 1.16
> Perl Version : 5.012003
> Operating System Name : darwin
> Getopt::Std.pm Version : 1.06
> MIME::Base64.pm Version : 3.08
> LWP::UserAgent.pm Version : 6.04
> LWP.pm Version : 6.04
> ==============================================================================
> Downloading 'certdata.txt' ...
> Missing newline after chunk data:
> '5\001\001\001\005\000\003\201\215\000\060' at
> /Library/Perl/5.12/Net/HTTP/Methods.pm line 481. at
> /Library/Perl/5.12/LWP/UserAgent.pm line 915.
>
> ----
> Downloading 'certdata.txt' ...
> Missing newline after chunk data:
> '\147\156\141\164\165\162\145\040\124\162\165\163' at
> /Library/Perl/5.12/Net/HTTP/Methods.pm line 481. at
> /Library/Perl/5.12/LWP/UserAgent.pm line 915.
>
> ----
> Downloading 'certdata.txt' ...
> Missing newline after chunk data:
> '240\015\372\247\163\134\352\160\361\224\041' at
> /Library/Perl/5.12/Net/HTTP/Methods.pm line 481. at
> /Library/Perl/5.12/LWP/UserAgent.pm line 915.
> ####
>
> It seems to work if I disable HTTPS when downloading the file from
> Mozilla, but I would like to avoid having to do that as I am often
> downloading this script directly from GitHub and running on different
> systems.
>
> Any suggestions?
hmmm; this sounds as if the problem is inside one of the Perl modules
...; but its of course also possible that the Mozilla system which
should provide the raw data has some issues (perhaps a recent update?);
can you please try to track down where the problem is? F.e. download the
file with curl from the URL which is in the script, and check if this
gives always same and correct result ...

also I somehow missed the discussion why we introduced 17 days ago
downloading the certdata.txt now via https ..?

Gün.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-03-26