Skip to content
Replacement for reference FastCGI implementation.
C++ C CMake
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
code
demo
help
libs
site
.gitignore
.gitmodules
AUTHORS
CMakeLists.txt
LICENSE.txt
README.rst
cfcgi-config.cmake

README.rst

cfcgi --- Streaming FastCGI record parser for C

Authors: André Caron
Contact: andre.l.caron@gmail.com

Description

This library provides a parser for FastCGI records. The parser is implemented as a finite state machine (FSM) for use in streaming applications (i.e. data arrives at an unpredictable rate and the parser must be interruptible). As such, the parser itself does not buffer any received data. It just forwards it to registered callbacks. It requires little overhead and is well suited for being used in an object-oriented wrapper.

Demonstration

There is a pre-fork/spawn server implementing a FastCGI authorizer in the demo folder. It also comes with a minimal LigHTTPd configuration to test it against an existing FastCGI implementation known to work!

Something went wrong with that request. Please try again.