Skip Menu |

This queue is for tickets about the libwww-perl CPAN distribution.

Report information
The Basics
Id: 39678
Status: resolved
Priority: 0/
Queue: libwww-perl

Owner: Nobody in particular
Requestors: ron [...]

Bug Information
Severity: Critical
Broken in: 5.815
Fixed in: (no value)

Subject: missing binmode
Download (untitled) / with headers
text/plain 609b
I think during the latest refactoring a "binmode" was dropped, making mirroring fail on Windows. Usually, this shows up as "Content-length mismatch." The following seems to work for me. --- Wed Sep 24 19:50:42 2008 +++ Mon Sep 29 11:43:30 2008 @@ -102,6 +102,7 @@ } elsif (!ref($arg) && length($arg)) { open(my $fh, ">", $arg) || die "Can't write to '$arg': $!"; + binmode($fh); push(@{$response->{handlers}{response_data}}, sub { print $fh $_[3] || die "Can't write to '$arg': $!"; 1;
This issue was also reported in RT#39668 and I've uploaded 5.816 with this fix earlier today.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to