Re: Bug #2406 [NEW]: feature request: label for html elements
| From: | Heino H. Gehlsen | Date: | Mon, 27 Sep 2004 10:40:27 +0000 |
| Subject: | Re: Bug #2406 [NEW]: feature request: label for html elements | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-33555@lists.php.net to get a copy of this message | ||
Please try Net/Socket.php v1.13 from CVS (http://cvs.php.net/co.php/pear/Net_Socket/Socket.php?r=1.13&p=1 as bug #1396 suggests. The changes in Net/Socket.php has for some reason been reverted in v1.15, but others have reported the v1.13 working on PHP5...
For your information I've been working on a PHP5 only version of Net_NNTP, but since it depends on my own PHP5 stream implementation it'll not be included in PEAR...
Kind regards,
Heino H. Gehlsen
----- Original Message ----- From: "martel at post dot pl" <pear-dev@lists.php.net>
To: <heino@gehlsen.dk>
Sent: Monday, September 27, 2004 12:14 PM
Subject: [PEAR-BUG] Bug #2406 [NEW]: feature request: label for html elements
From: martel at post dot plOperating system: Gentoo 2004.0PHP version: 5.0.1 Package: Net_NNTP Bug Type: BugBug description: feature request: label for html elements Description: ------------ Post method times out giving an error of "Timeout after 10 seconds, closing connection.; Unidentified response code". The problem lies in the method isConnected(). When you comment out the lines of 1140-1143 of the Net/NNTP/Protocol/Client.php, everything works as expected. I'm using latest version of Net_NNTP - 0.11.3 and PHP 5.0.2 (bug reporting form is missing that version) Reproduce code: --------------- require_once('Net/NNTP/Client.php'); $nntp = new Net_NNTP_Client(); $nntp->setDebug(true); $res = $nntp->connect('news.futuro.pl', 119); if (PEAR::isError($res)) {die($res->getMessage());} $from = 'martel <helpdesk@pro-futuro.com>'; $body = 'test'; $subject = 'test'; $res = $nntp->post('futuro.test', $subject, $body, $from, $additional); if (PEAR::isError($res)) { $res = $res->getUserinfo() . '; ' . $res->getMessage(); } var_dump($res); Expected result: ---------------- To be posted ok. Actual result: -------------- Timeout after 10 seconds, closing connection.; Unidentified response code -- Edit bug report at http://pear.php.net/bugs/bug.php?id=2406&edit=1