Docs InternalFastCGI » History » Revision 3
« Previous |
Revision 3/11
(diff)
| Next »
moo, 2006-09-17 01:04
{{{
#!rst
=================
FastCGI Internals
=================
---------------
Module: fastcgi
---------------
.. contents:: Table of Contents
Description ===========
States
------
The state-engine is currently made of 6 states which are walk-through on
the way each connection.
:init:
prepare fastcgi-connection
:connect:
waiting for a connection
:prepwrite:
build the fastcgi-request
:write:
write the fastcgi-request to the network
:read:
read fastcgi-response from network and push it to the write-queue
:close:
terminate the connection
Delays
------
connect, write and read may need to wait for an fdevent. That's the reason
for the loop in the state-diagram.
}}}
{{{
#!graphviz
digraph fcgistate {
init -> connect -> prepwrite -> write -> read -> close
write -> write
read -> read
connect -> connect
}
}}}
Updated by moo about 18 years ago · 3 revisions