From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 57F971F619 for ; Tue, 17 Mar 2020 06:56:52 +0000 (UTC) From: Eric Wong To: cmogstored-public@yhbt.net Subject: [PATCH 0/2] improve RFC 7230 conformance Date: Tue, 17 Mar 2020 06:56:50 +0000 Message-Id: <20200317065652.10324-1-e@yhbt.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: This ought to provide more consistent behavior with strange, misbehaving clients and existing proxies, although it's probably rare for cmogstored itself to be behind an HTTP proxy. Eric Wong (2): http: reject non-chunked Transfer-Encoding http: favor chunked over Content-Length http_parser.rl | 17 +++++++++++++++-- test/http-parser-1.c | 9 +++++++++ test/http_put.rb | 27 +++++++++++++++++++++++++++ 3 files changed, 51 insertions(+), 2 deletions(-)