Inheritance diagram for Scgi:

Public Member Functions | |
| Scgi () | |
| int | send (HttpThreadContext *td, ConnectionPtr connection, const char *scriptpath, const char *cgipath=0, int execute=0, int onlyHeader=0) |
Static Public Member Functions | |
| int | getTimeout () |
| int | load (XmlParser *) |
| void | setTimeout (int) |
| int | unLoad () |
Private Member Functions | |
| int | buildScgiEnvironmentString (HttpThreadContext *, char *, char *) |
| ScgiServer * | connect (ScgiContext *, const char *) |
| Socket | getScgiConnection () |
| ScgiServer * | isScgiServerRunning (const char *) |
| ScgiServer * | runScgiServer (ScgiContext *, const char *) |
| int | sendNetString (ScgiContext *, const char *, int) |
| int | sendPostData (ScgiContext *ctx) |
| int | sendResponse (ScgiContext *ctx, int onlyHeader, FiltersChain *) |
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 SCGI environment string. |
|
||||||||||||
|
Get a connection to the FastCGI server. |
|
|
|
|
|
Return the timeout value. |
|
|
Return the the running server specified by path. If the server is not running returns 0. |
|
|
Initialize the SCGI protocol implementation Reimplemented from HttpDataHandler. |
|
||||||||||||
|
Run the SCGI server. If the path starts with a @ character, the path is handled as a remote server. |
|
||||||||||||||||||||||||||||
|
Entry-Point to manage a SCGI request. Reimplemented from HttpDataHandler. |
|
||||||||||||||||
|
Send a netstring to the SCGI server. |
|
|
Send the post data to the SCGI server. |
|
||||||||||||||||
|
Send the response to the client. |
|
|
Set a new timeout. |
|
|
Clean the memory and the processes occuped by the FastCGI servers Reimplemented from HttpDataHandler. |
|
|
Is the scgi initialized? |
|
|
Process server manager. |
|
|
Use a default timeout of 15 seconds. |
1.3.9.1