The
khttp_fcgi_parse()
function parses and validates a single FastCGI request. They may be invoked
as many times as necessary, but must follow a call to
khttp_fcgi_init(3)
and be followed by
khttp_fcgi_free(3).
The req object
filled in by
khttp_fcgi_parse()
must be matched by
khttp_free(3)
if and only if the return value is KCGI_OK.
Otherwise, resources are internally freed.