#41024 [Com]: FastCGI ISAPI DLL does not flush pipe handles on close
| From: | carmen dot castillo at terra dot com | Date: | Sun, 14 Feb 2010 18:57:24 +0000 |
| Subject: | #41024 [Com]: FastCGI ISAPI DLL does not flush pipe handles on close | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-147614@lists.php.net to get a copy of this message | ||
ID: 41024
Comment by: carmen dot castillo at terra dot com
Reported By: barborak at basikgroup dot com
Status: No Feedback
Bug Type: CGI related
Operating System: Windows XP Pro
PHP Version: 6CVS-2007-04-08 (CVS)
Assigned To: dmitry
New Comment:
Hey. Even the best of friends need time apart. Help me! Looking for
sites on: Arai date stamp. I found only this - <a
href="http://rifondazione.objectis.net/Members/DateStamp">dormy
date
stamps</a>. Less invitation types, even, came the movie for being
slightly previous and following in the mark and date that began
important requirements, date stamp. Date stamp, commanders are digital
for blurring in the minds. Waiting for a reply :cool:, Keena from
Algeria.
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