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 4E1BD1F461 for ; Fri, 5 Jul 2019 22:53:39 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/4] implement NNTP COMPRESS per RFC 8054 Date: Fri, 5 Jul 2019 22:53:35 +0000 Message-Id: <20190705225339.5698-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: First 3 patches are pretty straightforward, but 3/4 was disappointing... 4/4 alleviates the disappointment, but it's kinda scary :> Now, which newsreaders support COMPRESS? I've tested my patches to Net::NNTP against news.gmane.org: https://rt.cpan.org/Ticket/Display.html?id=129967 Eric Wong (4): nntp: use msg_more as a method nntp: move LINE_MAX constant to the top nntp: support COMPRESS DEFLATE per RFC 8054 nntp: reduce server memory overhead of COMPRESS DEFLATE MANIFEST | 2 + TODO | 2 - lib/PublicInbox/DS.pm | 4 +- lib/PublicInbox/NNTP.pm | 46 +++++-- lib/PublicInbox/NNTPdeflate.pm | 119 ++++++++++++++++++ script/public-inbox-nntpd | 2 +- t/nntpd-tls.t | 11 ++ t/nntpd-validate.t | 216 +++++++++++++++++++++++++++++++++ t/nntpd.t | 7 ++ 9 files changed, 396 insertions(+), 13 deletions(-) create mode 100644 lib/PublicInbox/NNTPdeflate.pm create mode 100644 t/nntpd-validate.t -- EW