4 ms·
What is wrong with "the app being the server?" There are plenty of C/C++ HTTP libraries and frameworks out there. Just proxy your homebrew app server behind sq
by bbb 18y ago
What is wrong with "the app being the server?"
There are plenty of C/C++ HTTP libraries and frameworks out there. Just proxy your homebrew app server behind squid, lighttpd, apache, nginx, or $YOUR_FAVORITE_PROXY and you are set.
In fact, it makes it really easy to develop and test your app that way. There is no web server to configure and you can easily stick in printfs all you want. I use CherryPy (standalone HTTP framework for Python) that way exactly for these reasons. I'd do the same with C++.