Inheritance diagram for FastCgi:

Public Member Functions | |
| FastCgi () | |
| virtual int | send (HttpThreadContext *td, ConnectionPtr connection, const char *scriptpath, const char *cgipath, int execute=0, int onlyHeader=0) |
Static Public Member Functions | |
| int | getTimeout () |
| int | load (XmlParser *) |
| void | setTimeout (int) |
| int | unLoad () |
Private Member Functions | |
| int | buildFASTCGIEnvironmentString (HttpThreadContext *, char *, char *) |
| FastCgiServer * | connect (FcgiContext *, const char *) |
| void | generateFcgiHeader (FcgiHeader &, int, int, int) |
| Socket | getFcgiConnection () |
| FastCgiServer * | isFcgiServerRunning (const char *) |
| FastCgiServer * | runFcgiServer (FcgiContext *, const char *) |
| int | sendFcgiBody (FcgiContext *con, char *buffer, int len, int type, int id) |
Static Private Attributes | |
| int | initialized = 0 |
| ProcessServerManager * | processServerManager = 0 |
| int | timeout = MYSERVER_SEC(15) |
|
|
Constructor for the FASTCGI class |
|
||||||||||||||||
|
Trasform from a standard environment string to the FastCGI environment string. |
|
||||||||||||
|
Get a connection to the FastCGI server. |
|
||||||||||||||||||||
|
Fill the FcgiHeader structure. |
|
|
|
|
|
Return the timeout value. |
|
|
Return the the running server specified by path. If the server is not running returns 0. |
|
|
Initialize the FastCGI protocol implementation Reimplemented from HttpDataHandler. |
|
||||||||||||
|
Run the FastCGI server. If the path starts with a @ character, the path is handled as a remote server. |
|
||||||||||||||||||||||||||||
|
Entry-Point to manage a FastCGI request. Reimplemented from HttpDataHandler. |
|
||||||||||||||||||||||||
|
Send the buffer content over the FastCGI connection Return non-zero on errors. |
|
|
Set a new timeout. |
|
|
Clean the memory and the processes occuped by the FastCGI servers Reimplemented from HttpDataHandler. |
|
|
Is the fastcgi initialized? |
|
|
Process server manager. |
|
|
Use a default timeout of 15 seconds. |
1.3.9.1