]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/httpd-corner.psgi
ds|http|nntp: simplify {wbuf} population
[public-inbox.git] / t / httpd-corner.psgi
index 5628f4abd5c92002abc48bd971a35f88454ab59a..18e556be0e39c29c5ca20f64ddbb4953da8052b4 100644 (file)
@@ -85,6 +85,9 @@ my $app = sub {
                        close $null;
                        [ 200, [ qw(Content-Type application/octet-stream) ]];
                });
+       } elsif ($path eq '/pid') {
+               $code = 200;
+               push @$body, "$$\n";
        }
 
        [ $code, $h, $body ]