diff options
author | Eric Wong <e@80x24.org> | 2016-02-28 20:57:57 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-02-28 22:11:40 +0000 |
commit | aeaa38f620cf880a073b3a37463f0c577188df46 (patch) | |
tree | 16af51e676eb868199e1c0cd99309657d6f5970d /lib/PublicInbox/NNTP.pm | |
parent | 2ac2023fa416e31189708c355db8728abbd9ef2c (diff) | |
download | public-inbox-aeaa38f620cf880a073b3a37463f0c577188df46.tar.gz |
HTTP responses may be long-running or requests may be slow or pipelined. Ensure we don't kill them off prematurely.
Diffstat (limited to 'lib/PublicInbox/NNTP.pm')
-rw-r--r-- | lib/PublicInbox/NNTP.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/NNTP.pm b/lib/PublicInbox/NNTP.pm index 097c57e9..bcce7703 100644 --- a/lib/PublicInbox/NNTP.pm +++ b/lib/PublicInbox/NNTP.pm @@ -954,6 +954,7 @@ sub watch_read { $rv; } +# for graceful shutdown in PublicInbox::Daemon: sub busy () { my ($self) = @_; ($self->{rbuf} ne '' || $self->{long_res} || $self->{write_buf_size}); |