logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Net::FastCGI - FastCGI Toolkit

Author

       Christian Hansen "chansen@cpan.org"

Description

       This distribution aims to provide a complete API for working with the FastCGI protocol.

       The primary goal is to provide a function oriented and object oriented API which are not tied to a
       specific I/O model or framework.

       Secondary goal is to provide higher level tools/API which can be used for debugging and interoperability
       testing.

Environment

       Environment  variable  "NET_FASTCGI_PP" can be set to a true value before loading this package to disable
       usage of XS implementation.

Name

       Net::FastCGI - FastCGI Toolkit

Packages

       Net::FastCGI::Constant
           FastCGI protocol constants.

       Net::FastCGI::IO
           Provides functions to read and write FastCGI messages.

       Net::FastCGI::Protocol
           Provides functions to build and parse FastCGI messages.

Prerequisites

Run-Time
       perl 5.6 or greater.
       Carp, core module.
       Exporter, core module.

   Build-Time
       In addition to Run-Time:

       Test::More 0.47 or greater, core module since 5.6.2.
       Test::Exception.
       Test::HexString.

Progress

       The function oriented API is considered feature complete. Net::FastCGI::Protocol provides functions to
       build and parse all FastCGI v1.0 messages, also provided is a few convenient higher level functions such
       as "build_begin_request()", "build_end_request()", "parse_record()" and "dump_record()".

       Work has begun on object oriented implementation and a simple blocking I/O class which is intended for
       testing and debugging.

See Also

Community
       Official FastCGI site
           <http://www.fastcgi.com/>

   Standards
       FastCGI Specification Version 1.0
           <http://www.fastcgi.com/devkit/doc/fcgi-spec.html>

       RFC 3875 - The Common Gateway Interface (CGI) Version 1.1
           <http://tools.ietf.org/html/rfc3875>

   Whitepapers
       FastCGI: A High-Performance Web Server Interface
           <http://www.fastcgi.com/devkit/doc/fastcgi-whitepaper/fastcgi.htm>

       FastCGI - The Forgotten Treasure
           <http://cryp.to/publications/fastcgi/>

   Perlimplementations
       AnyEvent::FCGI
           Application server implementation, built on top of AnyEvent. Supports  Responder  role.   Capable  of
           multiplexing.

       FCGI
           Application  server  implementation,  built on top of "libfcgi" (reference implementation).  Supports
           all FastCGI roles. Responds to management records. Processes requests synchronously.

       FCGI::Async
           Application server implementation, built on top of IO::Async. Supports Responder role.   Responds  to
           management records. Capable of multiplexing.

       FCGI::Client
           Client (Web server) implementation. Supports Responder role.

       FCGI::EV
           Application server implementation, built on top of EV. Supports Responder role.

       Mojo::Server::FastCGI
           Application server implementation. Supports Responder role. Processes requests synchronously.

       POE::Component::FastCGI
           Application  server  implementation,  built  on  top  of  POE.  Supports  Responder role.  Capable of
           multiplexing.

Support

       Please report any bugs or feature requests to "bug-net-fastcgi@rt.cpan.org", or through the web interface
       at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-FastCGI>

See Also