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 ? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,291545,291545#msg-291545 _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx