From: [EMAIL PROTECTED] Operating system: not interesting PHP version: 4.2.3 PHP Bug Type: Sockets related Bug description: fsockopen timeout does not work
Hi, this problem has been reported SEVERAL times here but they have almost always been closed because of no feedback there's also this big problem with fsockopen, it hangs.. while it hangs the timeout doesn't work.. and neither does the php script timeout.. if the php script timout worked.. the fsockopen hanging wouldnt be a very big problem (for me) since the script exection would stop.. but just so that you know: i'm using php 4.2.3 and since the last 1-2 years, the fsockopen has hanged the script, and for the last year (1-2) the timeout has not been working either. it is now December 26, 2002 and the both the hanging and infunctional timeout still haunts me today. i have used several versions of php (4.0.6(?)-4.2.3) and several computers (mostly windows xp, but i think the problem exists on linux as well), and the hanging has been around all the time. and today before i even write code that involves fsockopen, i start considering every other option so that i dont have to write a program that i know will be crippled from birth. thank you for your time, Osman Darcan look at: http://bugs.php.net/bug.php?id=10765 http://bugs.php.net/bug.php?id=7420 http://bugs.php.net/bug.php?id=12360 -- Edit bug report at http://bugs.php.net/?id=21193&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21193&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21193&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21193&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21193&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21193&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21193&r=support Expected behavior: http://bugs.php.net/fix.php?id=21193&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21193&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21193&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21193&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21193&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21193&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21193&r=isapi