Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
FCGI::Client::ConnectiUser)Contributed Perl DocumenFCGI::Client::Connection(3)

NAME
       FCGI::Client::Connection	- connection to	FastCGI	server

DESCRIPTION
       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)
	   $env	is environment hash, same as CGI.$content is request body
	   string.  This method	returns	$stdout	and $stderr strings.When error
	   got,	return undef.  $appstatus is 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     3

	   These 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.

perl v5.32.0			  2011-09-20	   FCGI::Client::Connection(3)

NAME | DESCRIPTION | ATTRIBUTES | METHODS | FAQ

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=FCGI::Client::Connection&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help