From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-2.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=unavailable version=3.3.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id C4B7E2043A for ; Mon, 2 May 2016 18:01:29 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 1/5] http: remove needless binmode call Date: Mon, 2 May 2016 18:01:21 +0000 Message-Id: <20160502180125.21277-2-e@80x24.org> In-Reply-To: <20160502180125.21277-1-e@80x24.org> References: <20160502180125.21277-1-e@80x24.org> List-Id: Unnecessary on *nix, and we won't support systems which do insane things. --- lib/PublicInbox/HTTP.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/PublicInbox/HTTP.pm b/lib/PublicInbox/HTTP.pm index 88b6fb8..3286e79 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;