]> Sergey Matveev's repositories - public-inbox.git/commitdiff
http: update comment about psgix.io usage
authorEric Wong <e@80x24.org>
Tue, 31 Dec 2019 10:30:10 +0000 (10:30 +0000)
committerEric Wong <e@80x24.org>
Wed, 1 Jan 2020 07:50:27 +0000 (07:50 +0000)
We've been using async_pass for a while.

lib/PublicInbox/HTTP.pm

index e350daaff1c003bb3cd9ab43cb154b0d09e86d64..d2f04ba541e3865c2a9f6d0aa2a9b0781cadfc58 100644 (file)
@@ -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') {