]> Sergey Matveev's repositories - public-inbox.git/commitdiff
http: remove needless binmode call
authorEric Wong <e@80x24.org>
Mon, 2 May 2016 01:25:34 +0000 (01:25 +0000)
committerEric Wong <e@80x24.org>
Mon, 2 May 2016 17:57:07 +0000 (17:57 +0000)
Unnecessary on *nix, and we won't support systems
which do insane things.

lib/PublicInbox/HTTP.pm

index 88b6fb8114fa6d4c114c65cc859f0fec58775001..3286e79c59ecc426af38ef1ffe4e87d19cad2955 100644 (file)
@@ -264,7 +264,6 @@ sub input_prepare {
        # TODO: expire idle clients on ENFILE / EMFILE
        return unless $input;
 
-       binmode $input;
        $env->{'psgi.input'} = $input;
        $self->{env} = $env;
        $self->{input_left} = $len || 0;