#35026 [Fbk->Csd]: fwrite to socket stream no longer working as expected

From: Date: Sun, 30 Oct 2005 18:10:00 +0000
Subject: #35026 [Fbk->Csd]: fwrite to socket stream no longer working as expected
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-87228@lists.php.net to get a copy of this message
ID: 35026 User updated by: lists at cyberlot dot net Reported By: lists at cyberlot dot net -Status: Feedback +Status: Closed Bug Type: Network related Operating System: Fedora Core 3 PHP Version: 5.1.0RC4 New Comment: I am sorry, I assumed this to be a socket issue when in reality it turned out to be a simple_xml issue It is possible for a simpleXMLElemnt Object to fail a if($object) { } Test in RC3 and RC4 will resubmit as new bug Previous Comments: ------------------------------------------------------------------------ [2005-10-30 18:19:08] iliaa@php.net Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try to avoid embedding huge scripts into the report. A SHORT reproduce script is required 10-20 lines. ------------------------------------------------------------------------ [2005-10-30 18:07:28] lists at cyberlot dot net Description: ------------ I have tried running both the socket server and the socket test script on multiple versions found the only part that matters is what version the server is running on. On RC1 it works fine, RC3 and RC4 ( never tried RC2 ) some of the writes get "lost" Reproduce code: --------------- http://www.flashunity.com/wiki/DownLoads Run the engine.php in one terminal, runtests.php in other.. RC1 everything works RC3 and RC4 the tests never finish, Mine always hang on the 3rd test. I haven't been able to reproduce with a simpler set of code as of yet. Expected result: ---------------- Tests to be completed Actual result: -------------- Tests fail ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35026&edit=1

« previous php.bugs (#87228) next »