Any-Daemon-HTTP

 view release on metacpan or  search on metacpan

lib/Any/Daemon/FCGI/ClientConn.pm  view on Meta::CPAN

              , data_complete   => $role ne 'FILTER'
              , stdin_complete  => $role eq 'AUTHORIZER'
              , params_complete => 0
              , role            => $role
              , params          => undef,
              , stdin           => undef,
              , data            => undef,
              };

            unless($flags & FCGI_KEEP_CONN)
            {   # Actually, this flag is incorrectly: more threads may still be
                # active.  So, let's close when they all have ceased to exist.
                info __x"fcgi {id} is last request", id => $req_id;
                $self->{ADFC_keep_conn} = 0;
            }

            next;
        }

        defined $req_id or panic;
        $reqdata = $requests->{$req_id};

lib/Any/Daemon/FCGI/ClientConn.pod  view on Meta::CPAN

=head1 SYNOPSIS

=head1 DESCRIPTION

Handles request from one single client in FCGI protocol.  This object
gets initialized on any incoming connection by L<Any::Daemon::HTTP|Any::Daemon::HTTP> when
C<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.

=head1 METHODS

=over 4

=item Any::Daemon::FCGI::ClientConn-E<gt>B<new>(%options)

 -Option    --Default
  max_childs  <required>
  socket      <required>



( run in 0.300 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )