FCGI::Client::Connection3pm
Connection to fastcgi server
Overview
This module handles connection to FastCGI server.
Attributes
sock
|
the socket object. |
|---|---|
timeout
|
read only integer value, default is 10seconds. |
Methods
- my ($stdout, $stderr, $appstatus) = $self->request($env, $content)
-
$envis environment hash, same as CGI.$content is request body string. This method returns$stdoutand$stderrstrings.When error got, return undef.$appstatusis the status code of FastCGI server, this is one of the following code.#define FCGI_REQUEST_COMPLETE 0#define FCGI_CANT_MPX_CONN 1#define FCGI_OVERLOADED 2#define FCGI_UNKNOWN_ROLE 3These constants defined at FCGI::Client::Constat.
Faq
- Why don't support FCGI_KEEP_CONN?
-
FCGI_KEEP_CONN is not used by lighttpd's mod_fastcgi.c, and mod_fast_cgi for apache. And, FCGI.xs doesn't support it.
I seems FCGI_KEEP_CONN is not used in real world.
Releases
5 releases since Debian 10 (Buster); the text changed 1 time.