]> Sergey Matveev's repositories - public-inbox.git/commit
httpd/async: stop running command if client disconnects
authorEric Wong <e@80x24.org>
Fri, 13 Jan 2017 23:10:25 +0000 (23:10 +0000)
committerEric Wong <e@80x24.org>
Tue, 22 Jan 2019 03:40:18 +0000 (03:40 +0000)
commit891c6f0d5c47e93166cfd8b29785ebb1f0545119
treece38380c1abb87b0a1e9ebe31876a8f03f417bcf
parent21235aaf76ff3b5d7f400b65c8aa793f6b6a002c
httpd/async: stop running command if client disconnects

If an HTTP client disconnects while we're piping the output of a
process to them, break the pipe of the process to reclaim
resources as soon as possible.
lib/PublicInbox/HTTPD/Async.pm