Usually, but it's possible.
CGI::Fast::new
:
sub new {
my ($self, $initializer, @param) = @_;
if ( ! defined $initializer ) {
$Ext_Request ||= _create_fcgi_request( $in_fh,$out_fh,$err_fh );
return undef unless $Ext_Request->Accept >= 0;
}
CGI->_reset_globals;
$self->_setup_symbols(@CGI::SAVED_SYMBOLS) if @CGI::SAVED_SYMBOLS;
return $CGI::Q = $self->SUPER::new($initializer, @param);
}
As you can see, it can return false if $Ext_Request->Accept
(where $Ext_Request
is the FGCI :: Request object) returns a negative number.
Drilling brings us to one of two C functions, called OS_Accept
one for unix and one for Windows. They are mainly wrappers for a system call accept
.
accept
, ( ). .