]> Sergey Matveev's repositories - public-inbox.git/commit
qspawn: psgi_return: initial cb can be named
authorEric Wong <e@80x24.org>
Wed, 25 Dec 2019 07:50:43 +0000 (07:50 +0000)
committerEric Wong <e@80x24.org>
Thu, 26 Dec 2019 10:48:19 +0000 (10:48 +0000)
commite61e5fcff30370f355d8aeea6e47c06f3606e994
tree05fdfa70b9dabe578ce07729b50c165022201ea6
parentb7fbffd1f8c125566b944e37a21ab0747728bdc1
qspawn: psgi_return: initial cb can be named

We can take advantage of HTTPD::Async being able to pass
user-supplied args to callbacks to get rid of one (of many)
anonymous subs in the code path.
lib/PublicInbox/Qspawn.pm