kutil_invalidate
—
invalidate a kcgi input pair
The
kutil_invalidate
()
function marks the input pair kp as invalid, moving it
from a req->cookiemap or
req->fieldmap bucket into the corresponding
req->cookienmap or
req->fieldnmap bucket. It also resets
kp->type to KPAIR__MAX
,
zeroes kp->parsed, and sets
kp->state to
KPAIR_INVALID
.