ID:               41024
 Updated by:       [EMAIL PROTECTED]
 Reported By:      barborak at basikgroup dot com
-Status:           Open
+Status:           Assigned
 Bug Type:         CGI related
 Operating System: Windows XP Pro
 PHP Version:      6CVS-2007-04-08 (CVS)
-Assigned To:      
+Assigned To:      dmitry


Previous Comments:
------------------------------------------------------------------------

[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

Reply via email to