FastCGI for C++

前端 未结 6 675
忘了有多久
忘了有多久 2021-02-01 07:59

I\'ve found only two FastCGI libraries for C++. There\'s the \"official\" one, and fastcgi++. How is either one better than the other? Do any others exist?

6条回答
  •  情深已故
    2021-02-01 08:47

    The official library is rather low-level, and as such, is only useful as an intermediate for a high-level CGI library such as cgicc.

    Fastcgi++, on the other hand, allows for use of C++ idioms when dealing with FastCGI. Incompleteness in v1 motivated me to fork it into mosh-fcgi.

    Pros: My fork complies with every point of the standard (especially ROLE_FILTER) everything's extensively templated, so it's easier to use arbitrary T for std::basic_strings. Cons: My modifications are in alpha mode.

    In any case, download the latest zip from https://github.com/moshbear/mosh-fcgi.

提交回复
热议问题