#41024 [NoF->Bgs]: FastCGI ISAPI DLL does not flush pipe handles on close
| From: | pajoye@php.net | Date: | Sun, 14 Feb 2010 20:16:39 +0000 |
| Subject: | #41024 [NoF->Bgs]: FastCGI ISAPI DLL does not flush pipe handles on close | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-147617@lists.php.net to get a copy of this message | ||
ID: 41024
Updated by: pajoye@php.net
Reported By: barborak at basikgroup dot com
-Status: No Feedback
+Status: Bogus
Bug Type: CGI related
Operating System: Windows XP Pro
PHP Version: 6CVS-2007-04-08 (CVS)
Assigned To: dmitry
New Comment:
Not a php issue.
Previous Comments:
------------------------------------------------------------------------
[2007-04-20 01:00:00] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2007-04-12 13:59:36] dmitry@php.net
How is it related to PHP?
PHP team doesn't support this ISAPI module.
------------------------------------------------------------------------
[2007-04-08 18:01:06] barborak at basikgroup dot com
Description:
------------
Using the FastCGI ISAPI DLL with IIS 5 on Windows XP Professional to
support dynamic servers written in Perl and using the FCGI Perl module
works pretty well but there is an intermittent problem where the results
are not completely written to the client. That is, a FastCGI request is
handled correctly by the Perl program and a complete response is sent to
the FastCGI ISAPI DLL (as I confirmed with a logging version of this
DLL) but the complete response does not make it to the browser. I am no
Windows guru, but I believe the problem is because the handle between
the FastCGI ISAPI DLL and IIS is closed without first being flushed. By
adding a call to FlushFileBuffers before the call to CloseHandle in
OS_Close of fastcgi-isapi/libfcgi/os_win32.c, I no longer see this
intermittent problem.
If you are interested in this patch, I have posted it here:
http://www.basikgroup.com/temp/fastcgi_isapi_flush_patch.txt
Thanks,
Mike
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41024&edit=1