From:             [EMAIL PROTECTED]
Operating system: Windows 2000
PHP version:      4.1.0
PHP Bug Type:     Sockets related
Bug description:  socket servers expect more data from PHPCGI

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 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]

Reply via email to