Re: cvs: pear(MAINT_0_10) /Net_NNTP/NNTP Protocol.php
| From: | Heino H. Gehlsen | Date: | Wed, 19 Nov 2003 21:30:18 +0000 |
| Subject: | Re: cvs: pear(MAINT_0_10) /Net_NNTP/NNTP Protocol.php | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-23753@lists.php.net to get a copy of this message | ||
Mirco 'meebey' Bauer wrote:
>
> I found by accident some strange code in your commit.. (probably bug)
>
> [...]
>
> there it is: "if (false)" I think you want to check false against some
> value :)
No, it is not a bug; the code has just been 'disabled' for now since the
line validation is not NNTP/RFC977 compliant.
I plan to add some kind of property, which lets the user decide if the
protocol class should cancel the download when lines longer than what
RFC2822 allows are received, but until I figure out a name for the property
the line validation will have to wait...
Heino