Bug #3086: PHP.EXE Crashes when reciving from a TCP connection
| From: | daniel at restech dot se | Date: | Mon, 03 Jan 2000 13:33:06 +0000 |
| Subject: | Bug #3086: PHP.EXE Crashes when reciving from a TCP connection | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-14215@lists.php.net to get a copy of this message | ||
From: daniel@restech.se
Operating system: Win2k/Apache
PHP version: 3.0.11
PHP Bug Type: Reproduceable crash
Bug description: PHP.EXE Crashes when reciving from a TCP connection
I seem to have made something terrebly wrong here, or there is a bug in PHP. I'm constructing
an interface for the web that communicates with our (ResTech's) booking system. The comm is
established with 'fsockopen' to a listen port in the booking system. Since all data is
stored in an SQL on the listening side, some questions take longer than others. It seems that if PHP
has to wait too long for the TCP reply, it crashes when it finally arrives (allthough is still not
as long as the specified timeout to fsockopen).
This happens about 50% of times, if the reply takes a little time to arrive. When i put in a few
echo's in the script for debug purpouses, the problem seems to be eliminated.
Thanks for any reply/suggestion.
/Daniel