From: Eric Wong Date: Mon, 2 May 2016 01:25:34 +0000 (+0000) Subject: http: remove needless binmode call X-Git-Tag: v1.0.0~564 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=98e024acdb909cd9754ed5f107a0063350c103dd;p=public-inbox.git http: remove needless binmode call Unnecessary on *nix, and we won't support systems which do insane things. --- diff --git a/lib/PublicInbox/HTTP.pm b/lib/PublicInbox/HTTP.pm index 88b6fb81..3286e79c 100644 --- a/lib/PublicInbox/HTTP.pm +++ b/lib/PublicInbox/HTTP.pm @@ -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;