free a CGI instance for kcgi
() functions free the
resources of req
, flushing the HTTP data
stream in the process. After calling this function, the members of
should not be used and the function
should not be called again.
() function performs the
same operations as
(), but does
not flush the HTTP data stream. Thus, it may be used after invoking
without confusing the output buffer.
: if you're forking within your CGI
application, be aware of some caveats. Most web servers will continue to wait
are open to the CGI application.
Thus, if you fork a long-running application, you must close out these file
() functions were written
by Kristaps Dzonsons