From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS49160 62.122.208.0/22 X-Spam-Status: No, score=-3.3 required=3.0 tests=BAYES_00,RP_MATCHES_RCVD shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from junki.org (junki.org [62.122.209.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 4933820229 for ; Thu, 20 Oct 2016 21:03:13 +0000 (UTC) Received: by junki.org (Postfix, from userid 1000) id 5D8B6E092; Fri, 21 Oct 2016 00:03:11 +0300 (MSK) Received: from msd.home (msd.home [10.0.0.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by junki.org (Postfix) with ESMTPSA id A2CA4E08B; Fri, 21 Oct 2016 00:03:10 +0300 (MSK) Message-ID: <1476997390.1736.170.camel@junki.org> Subject: Re: [PATCH] Add some tolerance (RFC2616 sec. 19.3) From: Mishael A Sibiryakov To: Eric Wong Cc: unicorn-public@bogomips.org Date: Fri, 21 Oct 2016 00:03:10 +0300 In-Reply-To: <20161020205052.GA30292@starla> References: <1476954332.1736.156.camel@junki.org> <20161020175554.GA15564@starla> <1476995156.1736.166.camel@junki.org> <20161020205052.GA30292@starla> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.20.5 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 List-Id: On Thu, 2016-10-20 at 20:50 +0000, Eric Wong wrote: > > > > +  def test_multiline_header_0d0a > > > > +    parser = HttpParser.new > > > > +    parser.buf << "GET / HTTP/1.0\r\nX-Multiline-Header: foo > > > > bar\r\n\tcha cha\r\n\tzha zha\r\n\r\n" > > > > > > I expect code to be wrapped at 80 lines or less.  Fixed locally. > > > (I need big fonts, even 80 is a compromise, I really prefer 64) > > > > Line 221 with "ssl bullshit" guided me to this. > > Ah, that's an old test from Mongrel, probably not worth fixing; > just trying to keep new code cleaner. It's a good desire :) I'll comply next time.