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

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

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


 [2004-03-13 09: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 I commited version 1.0.1 to solve this bug Thanks for your help and support