Any-Daemon-HTTP
view release on metacpan or search on metacpan
lib/Any/Daemon/FCGI.pod view on Meta::CPAN
my $http = Any::Daemon::HTTP->new
( listen => 'www.example.com'
, protocol => 'FCGI'
, ...
);
=head1 DESCRIPTION
The Fast CGI protocol connects a generic front-end web-server (like
Apache or NGinx) with an backe-end daemon. The communication reuses
connections. The front-end server validates and throttles requests to
the back-end daemon. This module is the base for such back-end daemon.
This module extends the network side of a socket. During L<accept()|Any::Daemon::FCGI/"Actions">,
each incoming connection will create a new
L<Any::Daemon::FCGI::ClientConn|Any::Daemon::FCGI::ClientConn> object which handles the requests.
B<Warning:> the session object lives during the whole client connection,
which may contain requests from different customers.
B<Warning:> this code is new (nov 2019) and only tested with Apache 2.4.
( run in 0.510 second using v1.01-cache-2.11-cpan-a5abf4f5562 )