NAME
Plack::Handler::HTTP::Server::PSGI - adapter for HTTP:::Server::PSGI
SYNOPSIS
% plackup -s HTTP::Server::PSGI \
--host 127.0.0.1 --port 9091 --timeout 120
CONFIGURATIONS
This adapter automatically loads Prefork implementation when max-workers
is set, but otherwise the default HTTP::Server::PSGI which is single process.
- host
-
Host the server binds to. Defaults to all interfaces.
- port
-
Port number the server listens on. Defaults to 8080.
- timeout
-
Number of seconds a request times out. Defaults to 300.
- max-keepalive-reqs
-
Max requests per a keep-alive request. Defaults to 1, which means Keep-alive is off.
- keepalive-timeout
-
Number of seconds a keep-alive request times out. Defaults to 2.
- max-workers
-
Number of prefork workers. Defaults to 10.
- max-reqs-per-child
-
Number of requests per worker to process. Defaults to 100.
- max-keepalive-reqs
-
Max requests per a keep-alive request. Defaults to 100.
AUTHOR
Kazuho Oku
Tatsuhiko Miyagawa