Plack::Server::Standalone - single process standalone HTTP server
% plackup -s Standalone \ --host 127.0.0.1 --port 9091 --timeout 120 \ --max-keepalive-reqs 20 --keepalive-timeout 5
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.
Host the server binds to. Defaults to all interfaces.
Port number the server listens on. Defaults to 8080.
Number of seconds a request times out. Defaults to 300.
Max requests per a keep-alive request. Defaults to 100.
Number of seconds a keep-alive request times out. Defaults to 2.
Kazuho Oku
Tatsuhiko Miyagawa
Plack::Server::Standalone::Prefork
To install Plack, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack
CPAN shell
perl -MCPAN -e shell install Plack
For more information on module installation, please visit the detailed CPAN module installation guide.