#20380 [NEW]: stream_set_blocking() hangs

From: Date: Tue, 12 Nov 2002 04:31:43 +0000
Subject: #20380 [NEW]: stream_set_blocking() hangs
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-24661@lists.php.net to get a copy of this message
From: wweburg@maxis.com Operating system: Linux Redhat 2.4 PHP version: 4.2.3 PHP Bug Type: Filesystem function related Bug description: stream_set_blocking() hangs When using stream_set_blocking() in place of either socket_set_blocking() or set_socket_blocking(), the script hangs. The call method is: $fp = FSockOpen([valid connection data to internal network resource]); stream_set_blocking($fp, FALSE); The script operates normally when using socket_set_blocking, but complains via E_NOTICE error when set_socket_blocking is used, stating that it's deprecated and socket_set_blocking should be used. In the PHP manual, socket_set_blocking is an alias for stream_set_blocking. In the stream_set_blocking documentation, it states that both set_socket_blocking and socket_set_blocking are deprecated. -- Edit bug report at http://bugs.php.net/?id=20380&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20380&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20380&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20380&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20380&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20380&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20380&r=support Expected behavior: http://bugs.php.net/fix.php?id=20380&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20380&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20380&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20380&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20380&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20380&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20380&r=isapi

« previous php.bugs (#24661) next »