From: Eric Wong Date: Tue, 31 Dec 2019 10:30:10 +0000 (+0000) Subject: http: update comment about psgix.io usage X-Git-Tag: v1.3.0~174 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=ee9ad0a8236af3bfee4df70516874bb0baa7c0f6 http: update comment about psgix.io usage We've been using async_pass for a while. --- diff --git a/lib/PublicInbox/HTTP.pm b/lib/PublicInbox/HTTP.pm index e350daaf..d2f04ba5 100644 --- a/lib/PublicInbox/HTTP.pm +++ b/lib/PublicInbox/HTTP.pm @@ -164,7 +164,7 @@ sub app_dispatch { } # note: NOT $self->{sock}, we want our close (+ PublicInbox::DS::close), # to do proper cleanup: - $env->{'psgix.io'} = $self; # only for ->close + $env->{'psgix.io'} = $self; # for ->close or async_pass my $res = Plack::Util::run_app($self->{httpd}->{app}, $env); eval { if (ref($res) eq 'CODE') {