]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
ds: shutdn_tls_step clobbers {wbuf} early
authorEric Wong <e@80x24.org>
Tue, 17 Jun 2025 00:13:34 +0000 (00:13 +0000)
committerEric Wong <e@80x24.org>
Wed, 18 Jun 2025 11:04:29 +0000 (11:04 +0000)
commitf7aaea70446ec63c6b46b64660883f2d531674cd
tree5c0362665bbcc6ebf9c742b847def0e654b7e8a2
parent1d02f67a28c4c86ce4e10b0dbdf2349fa59b9449
ds: shutdn_tls_step clobbers {wbuf} early

Instead of prepending to {wbuf} and preserving tmpio objects
and/or other coderefs, clobber it early since we don't keep
sockets after shutting down TLS.  This ought to fix the `BUG:
ep_mod GLOB=GLOB(...): no such file or directory' (ENOENT)
errors on EPOLL_CTL_MOD when a client shuts down the connection
while serving large HTTPS responses.
lib/PublicInbox/DS.pm