Windows Apache/APR change affects FastCGI

Tom Donovan <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel,gmane.spam.detected
Message-ID <[email protected]>
FastCGI programs on Windows depend on stdout & stderr being 
INVALID_HANDLE_VALUE.   See libfcgi/os_win32.c:386

A change to APR 1.2.11 (Apache 2.2.6) broke this on Windows.

The Apache/APR developers have proposed a new process-creation flag for 
Windows which restores this behavior, but it would require a change to 
fcgi_pm.c:562


#ifdef APR_NO_FILE
     /* APR version 1.2.11+ requires this to
      * pass INVALID_HANDLE_VALUE for stdout/stderr
     */
     if (apr_procattr_io_set(procattr, APR_NO_FILE,
                             APR_NO_FILE, APR_NO_FILE))
         goto CLEANUP;
#endif


See Apache/APR bug 43329
http://issues.apache.org/bugzilla/show_bug.cgi?id=43329

and this thread in the apache_dev list:
http://mail-archives.apache.org/mod_mbox/httpd-dev/200709.mbox/%[email protected]%3e

Perhaps this could either go into mod_fastcgi (presuming the Apache 
developers decide to do it), or else the mod_fastcgi developers might 
want to weigh in on the subject in the apache_dev list.

As it stands, mod_fastcgi no longer works on Windows with the current 
Apache release, 2.2.6.

-tom-
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.