Plack::...r::PSGI(3)
π Plack::Handler::HTTP::Server::PSGI(3) π
okay bestie so this one lives in the User Contributed Perl Documentation section, and it is literally the little adapter that lets Plack talk to HTTP::Server::PSGI. iykyk. it's short, it's sweet, it's giving "i do one job and i do it well" β¨
πΈ NAME πΈ
Plack::Handler::HTTP::Server::PSGI β the adapter for HTTP::Server::PSGI. that's it, that's the whole vibe. she's a bridge π«Ά
β¨ SYNOPSIS β¨
the way you literally just run this and vibe:
% plackup -s HTTP::Server::PSGI \
--host 127.0.0.1 --port 9091 --timeout 120
yes bestie, -s picks the server, and the rest are flags. we'll get to those π
π BACKWARD COMPATIBLITY π
(yes, the typo is canon, don't come for me, it's in the original name and i will NOT be fixing it π)
okay so listen up because this is important: since Plack 0.99_22 this handler does not support preforking configuration. like, at all. we're talking --max-workers β she said no. β
if you need a preforking PSGI web server, bestie you have to go elsewhere: use Starman or Starlet. no cap. don't try to make this one do something she told you she doesn't do π
π CONFIGURATIONS π
here's the whole menu, and ngl it's short but every single one matters:
hostβ the host the server binds to. defaults to all interfaces, so she's out here talking to everybody by default πportβ the port number the server listens on. defaults to8080π₯timeoutβ number of seconds a request times out. defaults to300β°max-reqs-per-childβ number of requests per worker to process. defaults to100π
ok but remember the section above:max-reqs-per-childis chillin' there as a config, but preforking/--max-workersvibes are a no-go since0.99_22. keep that in mind π«Ά
π AUTHOR π
- Kazuho Oku
- Tatsuhiko Miyagawa
absolute icons, we stan π
π¦ SEE ALSO π¦
PlackHTTP::Server::PSGI
and that's the whole page, bestie!! this manual came to you from perl v5.42.3, dated 2026-10-18, and honestly? slay. go run your server, mwah π ππΈ
π¦ where this page comes from
- fedora 43: perl-Plack 1.0055-1.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- fedora 44: perl-Plack 1.0055-1.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms