S
S
sitev_ru2015-01-26 14:35:29
C++ / C#
sitev_ru, 2015-01-26 14:35:29

What FastCGI library for C/C++ would you recommend?

I set out to write a website in FastCGI С++. I started digging on the internet. It's not entirely clear which is the best FastCGI library for C/C++ to use. Can you advise something?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
bogolt, 2015-01-26
@bogolt

Or maybe, well, it’s fast-sgi, but take the http library right away, and write everything directly with its help?
And then run everything through nginx to eliminate various security issues.
For example, we take libevent http - it allows you to process http requests, we write a single / multi-threaded server based on it.
The same can be done using boost.asio, in the boost itself there are many examples dedicated to creating http servers.
In addition, you have already been pointed to cppcms, which seems to be tailored for such tasks.
In any case, if you use this advice, I highly recommend not to expose such a self-written server to the outside, but to set everything up so that real requests come to a reliable web server, which will then proxy requests to yours.

H
hiloader, 2015-01-26
@hiloader

www.webtoolkit.eu/wt - like Qt, only web. My choice, however, is cppcms.com/wikipp/en/page/main. cppcms has a higher entry threshold IMHO, but there are more opportunities for your imagination to fly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question