]> Sergey Matveev's repositories - public-inbox.git/commit
httpd/async: avoid unnecessary on-stack delete
authorEric Wong <e@80x24.org>
Sun, 7 Feb 2021 08:52:01 +0000 (08:52 +0000)
committerEric Wong <e@80x24.org>
Sun, 7 Feb 2021 22:57:30 +0000 (22:57 +0000)
commit072d326a8acb2633fbbadf87005b7e546e3da832
tree61029dad891eb1b493508bf0082786411b32d168
parent18798ea686b3c5cc46831e6b3bd1dec0cefa3137
httpd/async: avoid unnecessary on-stack delete

While this doesn't fix a known problem, this was a risky
construct in case somebody uses confess/longmess inside
the user-supplied callback.

cf. commit 0795b0906cc81f40
    ("ds: guard against stack-not-refcounted quirk of Perl 5")
lib/PublicInbox/HTTPD/Async.pm