ID: 27801 Comment by: jimmy at quadrahosting dot com dot au Reported By: ury at iptel dot by Status: No Feedback Bug Type: Sockets related Operating System: linux PHP Version: 4.3.5 New Comment:
To those who are experiencing this problem (on 4.3.5 and up) - do you check the result of fgets using feof? If this is the case, the feof is the cause of the delay because since 4.3.5 PHP will only return true on feof when the socket connection is closed or after the socket timeout period has elapsed. See www.php.net/feof A quick fix is to call stream_set_timeout($sockethandle, 2) or a similarly low timeout. Can someone confirm that this works for you? Previous Comments: ------------------------------------------------------------------------ [2004-04-12 07:31:10] [EMAIL PROTECTED] None of you have bothered to do some bug finding of your own; we don't have time to install large applications and debug them. Please give me the shortest script that reproduces the bug, as I have asked, otherwise this report will sit and rot. ------------------------------------------------------------------------ [2004-04-12 05:06:26] tibyke at tibyke dot hu the problem still exists, even with latest snapshot. i wonder what else we could/should do besides reporting the problem, and pointing the allegedly faulty piece of code, and. get ilohamail at www.ilohamail.org (0812), install it alongside a php >4.3.4, and you'll see what we're talking about. if you dont want to then write an email, I'll show you the case on my box (as [EMAIL PROTECTED] didnt even bother to reply to my mail) regards, tibyke ------------------------------------------------------------------------ [2004-04-11 12:14:20] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2004-04-06 08:01:27] admin at itccanarias dot org Same problem with PHP 4.3.5. With previous versions of PHP IlohaMail works fine. This is the web server error: PHP Warning: fsockopen(): php_network_getaddresses: gethostbyname failed in /export/home/www/htdocs/IlohaMail/include/pop3.inc on line 233 ------------------------------------------------------------------------ [2004-04-05 17:28:43] [EMAIL PROTECTED] Please, lets just have the shortest script that reproduces the problem. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/27801 -- Edit this bug report at http://bugs.php.net/?id=27801&edit=1