Please enable JavaScript to view this site.

A-Shell Development History

CGIUTL new opcode CGIOP_GETREQ (10) is used to support FastCGI.

xcall CGIUTL, CGIOP_GETREQ, status

where

status is a signed numeric variable that will return 0 if a request is available to process, or -1 if not, in which case the application should terminate.

For FastCGI mode requests after the first one for the instance of the application server, this call will sleep until a request is available or the web server tells us to exit, or an error occurs.