From 77c66b4cdb1d52321ed3cb6352fe0b72312cbb71 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 5 Jul 2019 22:53:38 +0000 Subject: nntp: support COMPRESS DEFLATE per RFC 8054 This is only tested so far with my patches to Net::NNTP at: https://rt.cpan.org/Ticket/Display.html?id=129967 Memory use in C10K situations is disappointing, but that's the nature of compression. gzip compression over HTTPS does have the advantage of not keeping zlib streams open when clients are idle, at the cost of worse compression. --- script/public-inbox-nntpd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script/public-inbox-nntpd') diff --git a/script/public-inbox-nntpd b/script/public-inbox-nntpd index 55bf330e..cd273849 100755 --- a/script/public-inbox-nntpd +++ b/script/public-inbox-nntpd @@ -6,7 +6,7 @@ use strict; use warnings; require PublicInbox::Daemon; -require PublicInbox::NNTP; +use PublicInbox::NNTP; # need to call import require PublicInbox::NNTPD; my $nntpd = PublicInbox::NNTPD->new; PublicInbox::Daemon::run('0.0.0.0:119', -- cgit v1.2.3-24-ge0c7