NAME
Plack::Server::Standalone - single process standalone HTTP server
SYNOPSIS
% plackup -s Standalone \
--host 127.0.0.1 --port 9091 --timeout 120 \
--max-keepalive-reqs 20 --keepalive-timeout 5
DESCRIPTION
Plack::Server::Standalone is a default Plack server implementation that runs as a standalone, single-process and reasonably fast HTTP server. HTTP/1.0 and Keep-Alive requests are supported.
This server should be great for the development and testing, but not suitable for production. See Plack::Server::Standalone::Prefork if you want a multi-process prefork server.
Some features in HTTP/1.1, notably chunked requests, responses and pipeline requests are NOT supported yet.
CONFIGURATIONS
- 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 100.
- keepalive-timeout
-
Number of seconds a keep-alive request times out. Defaults to 2.
AUTHOR
Kazuho Oku
Tatsuhiko Miyagawa