PHP 4.0 Bug #7341: php_read() causes funky effects

From: Date: Thu, 19 Oct 2000 15:19:38 +0000
Subject: PHP 4.0 Bug #7341: php_read() causes funky effects
Groups: php.dev 
Request: Send a blank email to php-dev+get-35538@lists.php.net to get a copy of this message
From: vincent.negrier@mixad.com Operating system: Linux 2.2 PHP version: 4.0.3pl1 PHP Bug Type: Sockets related Bug description: php_read() causes funky effects since 4.0.3 (or is it pl1 ?) the PHP read() fucntion doesn't call the C read() directly but passes thru php_read(). I had to disable php_read (using read() instead) in sockets.c because my script suddenly took 99% of system resources and didn't work anymore. I also noticed the return value of php_read() was not the same .. read() returns 0 if connection is lost where php_read returns a negative value. -- Edit Bug report at: http://bugs.php.net/?id=7341&edit=1

« previous php.dev (#35538) next »