Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.4.7

Bug #1006 Don't use Net_Socket::eof()
Submitted: 2004-03-13 10:51 UTC
From: yunosh Assigned: damian
Status: Closed Package: Net_Sieve
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 19 - 6 = ?

 
 [2004-03-13 10:51 UTC] yunosh
Description: ------------ You shouldn't use Net_Socket::eof() in _sendCmd() without setting a timeout, see the warning on http://php.net/feof. Expected result: ---------------- Replace the if ($this->_socket->eof()) line with: $status = $this->_sock->getStatus(); if (PEAR::isError($status) || $status['eof']) {

Comments

 [2004-03-13 14:44 UTC] damian at php dot net
Thank you for your bug report. This issue has already been fixed in the latest released version of the package, which you can download at http://pear.php.net/packages.php I commited version 1.0.1 to solve this bug Thanks for your help and support