GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
KHTTP_FCGI_PARSE(3) FreeBSD Library Functions Manual KHTTP_FCGI_PARSE(3)

khttp_fcgi_parse
parse a FastCGI instance for kcgi

library “libkcgi”

#include <sys/types.h>
#include <stdarg.h>
#include <stdint.h>
#include <kcgi.h>

enum kcgi_err
khttp_fcgi_parse(struct kfcgi *fcgi, struct kreq *req);

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.

These are the same as in khttp_parse(3), except the KCGI_EXIT return code indicates that no more requests will arrive and the application should exit.

kcgi(3), khttp_fcgi_init(3), khttp_free(3), khttp_parse(3)

The khttp_fcgi_parse() function was written by Kristaps Dzonsons <kristaps@bsd.lv>.
June 12, 2022 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.