ID: 14625 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Open Status: Duplicate Bug Type: Sockets related Operating System: Windows 2000 PHP Version: 4.1.0 New Comment:
Has been replaced by a more specific bug report showing other problems. Previous Comments: ------------------------------------------------------------------------ [2001-12-20 11:23:34] [EMAIL PROTECTED] Standard sequence of single fsockopen, fputs, fgets, fclose "hangs" servers. Our own C++-servers and several samples of socket-servers we found in the Internet work with other clients, but when being used by PHP scripts in the standard way described all around try to recv(eive) more data from the PHP script, that itself waits at the fgets statement. Finally this locking situation is resolved by some timer running up at client or server side. Data sent by PHP script is received by the servers in the correct length and echo servers or others do send data back before going back to the recv the actually hangs the (non-blocking server or thread). So from PHP side some information like "end of transmission" seems to be missing at the server side. Same behavior using PHP 4.0.6 ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14625&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]