Table of Contents

Class: FCGIChannel Zope-2.2.1-src/ZServer/FCGIServer.py

Process a FastCGI connection. This class implements most of the Application Server side of the protocol defined in http://www.fastcgi.com/fcgi-devkit-2.1/doc/fcgi-spec.html (which is the FastCGI Specification 1.0 from Open Market, Inc.) in a manner that is compatible with the asyncore medusa engine of ZServer.

The main ommission from the spec is support for multiplexing multiple requests on a single connection, but since none of the web servers support it (that I know of,) and since ZServer can easily multiplex multiple connections in the same process, it's no great loss.

Base Classes   
asynchat.async_chat
Methods   
__init__
close
collect_incoming_data
found_terminator
handleManagementTypes
log_request
push
readable
sendDataRecord
sendEndRecord
sendStreamTerminator
send_response
setInitialState
  __init__ 
__init__ (
        self,
        server,
        sock,
        addr,
        )

  close 
close ( self )

  collect_incoming_data 
collect_incoming_data ( self,  data )

  found_terminator 
found_terminator ( self )

  handleManagementTypes 
handleManagementTypes ( self,  rec )

The web server has asked us what features we support...

  log_request 
log_request ( self,  bytes )

  push 
push (
        self,
        producer,
        send=1,
        )

  readable 
readable ( self )

  sendDataRecord 
sendDataRecord (
        self,
        data,
        recType,
        )

  sendEndRecord 
sendEndRecord ( self,  appStatus=0 )

  sendStreamTerminator 
sendStreamTerminator ( self,  recType )

  send_response 
send_response ( self )

Create output pipes, request, and response objects. Give them to ZPublisher for processing.

  setInitialState 
setInitialState ( self )


Table of Contents

This document was automatically generated on Mon Sep 4 07:33:06 2000 by HappyDoc version r0_6