ID: 39803 User updated by: marcelo at tpn dot com dot br Reported By: marcelo at tpn dot com dot br -Status: No Feedback +Status: Open Bug Type: Sockets related Operating System: FreeBSD 5.3 PHP Version: 4.4.4 New Comment:
An user could fix this problem in PHP 5 adding 3 lines of code in main/network.c. if (!asynchronous) { /* back to blocking mode */ RESTORE_SOCKET_BLOCKING_MODE(sockfd, orig_flags); } /* Start changes */ if (error == EINPROGRESS) { error = 0; } /* End changes */ if (error_code) { *error_code = error; } if (error && error_string) { *error_string = php_socket_strerror(error, NULL, 0); ret = -1; } return ret; I try to modify PHP 4 but the code is a bit different. Can you help me to fix this problem? The system is always returning EINPROGRESS. Previous Comments: ------------------------------------------------------------------------ [2006-12-26 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". ------------------------------------------------------------------------ [2006-12-18 17:11:42] [EMAIL PROTECTED] I really doubt I can reproduce or investigate it with only an FTP account. When I said "account on this machine" I meant SSH access. ------------------------------------------------------------------------ [2006-12-18 17:03:42] marcelo at tpn dot com dot br Someone else can help me to fix this bug? ------------------------------------------------------------------------ [2006-12-14 13:28:18] marcelo at tpn dot com dot br Did you receive my e-mail? ------------------------------------------------------------------------ [2006-12-13 14:30:38] marcelo at tpn dot com dot br Sent to [EMAIL PROTECTED] ------------------------------------------------------------------------ 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/39803 -- Edit this bug report at http://bugs.php.net/?id=39803&edit=1