File: keepalive.fcgi

package info (click to toggle)
libfcgi-client-perl 0.09-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 232 kB
  • sloc: ruby: 510; perl: 408; makefile: 2
file content (8 lines) | stat: -rwxr-xr-x 213 bytes parent folder | download
1
2
3
4
5
6
7
8
#!/usr/bin/perl
use FCGI;

my %env;
my $req = FCGI::Request(\*STDIN, \*STDOUT, \*STDOUT, \%env, 0, &FCGI::FAIL_ACCEPT_ON_INTR);
while ($req->Accept() >= 0) {
    print("Content−type: text/html\r\n\r\nhello");
}