1HTTP::Server::PSGI(3) User Contributed Perl DocumentationHTTP::Server::PSGI(3)
2
3
4

NAME

6       HTTP::Server::PSGI - Standalone PSGI compatible HTTP server
7

SYNOPSIS

9         use HTTP::Server::PSGI;
10
11         my $server = HTTP::Server::PSGI->new(
12             host => "127.0.0.1",
13             port => 9091,
14             timeout => 120,
15         );
16
17         $server->run($app);
18

DESCRIPTION

20       HTTP::Server::PSGI is a standalone, single-process and PSGI compatible
21       HTTP server implementations.
22
23       This server should be great for the development and testing, but might
24       not be suitable for a production use.
25
26       Some features in HTTP/1.1, notably chunked requests, responses and
27       pipeline requests are NOT supported, and it also does not support
28       HTTP/0.9.
29
30       See Starman or uWSGI server if you want HTTP/1.1 and other features
31       ready for a production use.
32

PREFORKING

34       HTTP::Server::PSGI does NOT support preforking. See Starman or Starlet
35       if you want a multi-process prefork web servers.
36

HARAKIRI SUPPORT

38       This web server supports `psgix.harakiri` extension defined in the
39       PSGI::Extensions.
40
41       This application is a non-forking single process web server (i.e.
42       `psgi.multiprocess` is false), and if your application commits
43       harakiri, the entire web server stops too. In case this behavior is not
44       what you want, be sure to check `psgi.multiprocess` as well to enable
45       harakiri only in the preforking servers such as Starman.
46
47       On the other hand, this behavior might be handy if you want to embed
48       this module in your application and serve HTTP requests for only short
49       period of time, then go back to your main program.
50

AUTHOR

52       Kazuho Oku
53
54       Tatsuhiko Miyagawa
55

SEE ALSO

57       Plack::Handler::Standalone Starman Starlet
58
59
60
61perl v5.30.1                      2020-01-30             HTTP::Server::PSGI(3)
Impressum