Welcome! Log In Create A New Profile

Advanced

How to spawn fastcgi c++ app on windows?

May 18, 2021 07:02AM
I followed http://chriswu.me/blog/writing-hello-world-in-fcgi-with-c-plus-plus/ to create a C++ fastcgi server app together with nginx. On linux is working fine.

On Windows 10 however the server process is started by spawn-fcgi but later the FCGI_Accept_r() will return with an "Unkown listenType" internal error. I have the suspicion that spawn-fcgi is broken on Windows since the very same c++ build is working fine with apache. In case of apache there is no need to use spawn-fcgi , it can spawn the fastcgi process by it's own. I think spawn-fcgi is not forwarding the standard input/output and the standard error.

I used Cygwin to build spawn-fcgi on windows.

Is there an alternative to spawn-fcgi on windows ?
Subject Author Posted

How to spawn fastcgi c++ app on windows?

hkaroly May 18, 2021 07:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 326
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready