|
NAMEkhttp_free , khttp_child_free
—
free a CGI instance for kcgi
LIBRARYlibrary “libkcgi”SYNOPSIS#include <sys/types.h>
#include <stdarg.h>
#include <stdint.h>
#include <kcgi.h>
void
void
DESCRIPTIONThekhttp_free () and
khttp_child_free () functions free the resources of
req allocated by
khttp_parse(3)
or
khttp_fcgi_parse(3),
flushing the HTTP data stream in the process. After calling this function, the
members of req should not be used and the function
should not be called again.
The Note: if you're forking within your CGI
application, be aware of some caveats. Most web servers will continue to
wait while SEE ALSOkcgi(3), khttp_parse(3)AUTHORSThekhttp_free () and
khttp_child_free () functions were written by
Kristaps Dzonsons
<kristaps@bsd.lv>.
Visit the GSP FreeBSD Man Page Interface. |