diff options
author | Eric Wong <e@80x24.org> | 2022-08-03 07:59:11 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2022-08-03 19:57:37 +0000 |
commit | 7d3928a8c2b759149104d41ad09a6cff490fcef7 (patch) | |
tree | 39d8549b3b480c72ce925b3f1ab0e10927ea0563 /lib/PublicInbox/DS.pm | |
parent | 6d7f39f784f6e11a5dc69a5054b719614ed986a8 (diff) | |
download | public-inbox-7d3928a8c2b759149104d41ad09a6cff490fcef7.tar.gz |
ds: use ->dflush to distinguish from ->zflush
->zflush is already for GzipFilter in PublicInbox::WWW, while we use DEFLATE for NNTP and IMAP. This ought to make the code easier-to-follow.
Diffstat (limited to 'lib/PublicInbox/DS.pm')
-rw-r--r-- | lib/PublicInbox/DS.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/DS.pm b/lib/PublicInbox/DS.pm index ef483aac..77e2e5e9 100644 --- a/lib/PublicInbox/DS.pm +++ b/lib/PublicInbox/DS.pm @@ -648,7 +648,7 @@ sub shutdn ($) { } } -sub zflush {} # overridden by DSdeflate +sub dflush {} # overridden by DSdeflate sub compressed {} # overridden by DSdeflate sub long_response_done {} # overridden by Net::NNTP @@ -682,7 +682,7 @@ sub requeue_once { my ($self) = @_; # COMPRESS users all share the same DEFLATE context. # Flush it here to ensure clients don't see each other's data - $self->zflush; + $self->dflush; # no recursion, schedule another call ASAP, # but only after all pending writes are done. |