NAME

Any::Daemon::FCGI::ClientConn - handle FCGI requests

SYNOPSIS

DESCRIPTION

Handles request from one single client in FCGI protocol. This object gets initialized on any incoming connection by Any::Daemon::HTTP when protocol=FCGI.

More than one request can be collected at any moment, and they will be processed once complete. However, they will be processed in a single thread: they have to wait for another to complete.

METHODS

Any::Daemon::FCGI::ClientConn->new(%options)
-Option    --Default
 max_childs  <required>
 socket      <required>
max_childs => INTEGER

The number of processes which are started in this back-end server. We do not want more than this number of requests from the front-end server.

socket => IO::Socket::IP

Our client socket, for incoming traffic.

Accessors

$obj->socket()

HTTP

$obj->my($request = $client->get_request;)

Returns the next Any::Daemon::FCGI::Request object (which is a simple extension to HTTP::Request). Maintenance records which are in the incoming stream are handled as well.

SEE ALSO

This module is part of Any-Daemon-HTTP distribution version 0.30, built on April 06, 2020. Website: http://perl.overmeer.net/any-daemon/

LICENSE

Copyrights 2013-2020 by [Mark Overmeer]. For other contributors see ChangeLog.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://dev.perl.org/licenses/