date: 2017/02/23 18:35:33
- user: mawalch
- file: FCGIConnection.st directory: goodies/webServer
- module: stx stc-classLibrary: webServer
initializeFor: aHTTPServer socket: aSocket
set weather the connection should be closed.
FastCgi tells this for each request in BeginRequestRecord.
Read the request and return an HTTPRequest instance,
when the request is complte.
Return nil, if there is complete request yet.
FastCGI may multiplex several requests onton the same connection.
Demultiplexing is done here.
fetch the next complete request from the connection.
FastCgi may multiplex more than one request (as several records)
onto one connection. #waitAndFetchRecord demultiplexes.
write a FastCgiRecord (part of the response) to the socket