| Catalyst-Engine-SCGI documentation | view source | Contained in the Catalyst-Engine-SCGI distribution. |
Catalyst::Engine::SCGI - SCGI Engine
This is the SCGI engine.
This class overloads some methods from Catalyst::Engine::CGI.
Start the SCGI server. If $port is not set default to port 9000. If $detach is set, server will go into the background.
Write finalized headers to socket
Write directly to socket
Read Body content to $_[3]'s set length and direct output to $_[2].
Performs the first part of daemon initialisation. Specifically, forking. STDERR, etc are still connected to a terminal.
Performs the second part of daemon initialisation. Specifically, disassociates from the terminal.
However, this does not change the current working directory to "/", as normal daemons do. It also does not close all open file descriptors (except STDIN, STDOUT and STDERR, which are re-opened from /dev/null).
| Catalyst-Engine-SCGI documentation | view source | Contained in the Catalyst-Engine-SCGI distribution. |