1FCGI::Client::ConnectioUns(e3rpmC)ontributed Perl DocumeFnCtGaIt:i:oCnlient::Connection(3pm)
2
3
4

NAME

6       FCGI::Client::Connection - connection to FastCGI server
7

DESCRIPTION

9       This module handles connection to FastCGI server.
10

ATTRIBUTES

12       sock
13           the socket object.
14
15       timeout
16           read only integer value, default is 10seconds.
17

METHODS

19       my ($stdout, $stderr, $appstatus) = $self->request($env, $content)
20           $env is environment hash, same as CGI.$content is request body
21           string.  This method returns $stdout and $stderr strings.When error
22           got, return undef.  $appstatus is the status code of FastCGI
23           server, this is one of the following code.
24
25               #define FCGI_REQUEST_COMPLETE 0
26               #define FCGI_CANT_MPX_CONN    1
27               #define FCGI_OVERLOADED       2
28               #define FCGI_UNKNOWN_ROLE     3
29
30           These constants defined at FCGI::Client::Constat.
31

FAQ

33       Why don't support FCGI_KEEP_CONN?
34           FCGI_KEEP_CONN is not used by lighttpd's mod_fastcgi.c, and
35           mod_fast_cgi for apache.  And, FCGI.xs doesn't support it.
36
37           I seems FCGI_KEEP_CONN is not used in real world.
38
39
40
41perl v5.36.0                      2022-07-22     FCGI::Client::Connection(3pm)
Impressum