Subject: | Streaming GET to disk broken in at least 6.15 on BSD |
Date: | Thu, 28 Apr 2016 09:22:56 -0500 |
To: | bug-libwww-perl [...] rt.cpan.org |
From: | Nathan Jahnke <njahnke [...] gmail.com> |
Response body accumulates endlessly in the object. :content_file does
not work, :content_cb is never called. Manually specifying
:read_size_hint is no help either.
Broken in libwww-perl-6.15 / Net-HTTP-6.09, working in
libwww-perl-6.05 / Net-HTTP-6.06.
Tested on two platforms:
iMac-3:~ njahnke$ uname -a
Darwin iMac-3.local 15.3.0 Darwin Kernel Version 15.3.0: Thu Dec 10
18:40:58 PST 2015; root:xnu-3248.30.4~1/RELEASE_X86_64 x86_64
iMac-3:~ njahnke$ perl -v
This is perl 5, version 18, subversion 2 (v5.18.2) built for
darwin-thread-multi-2level
root@oldmikoto:~ # uname -a
FreeBSD oldmikoto 10.3-RELEASE FreeBSD 10.3-RELEASE #0 r297264: Fri
Mar 25 02:10:02 UTC 2016
root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
root@oldmikoto:~ # perl -v
This is perl 5, version 20, subversion 3 (v5.20.3) built for
amd64-freebsd-thread-multi