FastCGI for C++

前端 未结 6 676
忘了有多久
忘了有多久 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:22

    The C-version of FastCGI does very little, and developing in C++ isn't such a big problem as it hardly interferes with your own code. It's most likely just a loop and an environment variable.

    So my advice would be just to stick with the official version.

    Just be aware of one thing: it works by redefining printf! So if you use cout it won't work.

提交回复
热议问题