PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Networking » Net_NNTP » Bug #7

Lines longer than 998 chars makes download stop

Details

Submitted2003-09-14 17:43 UTC
Fromheino at php dot net
Assignedheino
StatusClosed
PackageNet_NNTP
PHP VersionIrrelevant
Roadmaps(Not assigned)

Comments

[2003-09-14 17:43 UTC] heino at php dot net

Description:
------------
This is actually not a bug...

Sometimes the RFC2822s absolute max line length (998) is not respected, which Net_NNTP doesn't like. There should be a variable to choose between strict and loose line validation...

[2003-11-12 02:15 UTC] kai_b at users dot sourceforge dot net

To me this is a bug. This is directly from RFC 2822 4.:

"The fact that a particular form does not appear in any section of this document is not justification for computer programs to crash or for malformed data to be irretrievably lost by any implementation. To repeat an example, though this document requires lines in messages to be no longer than 998 characters, silently discarding the 999th and subsequent characters in a line without warning would still be bad behavior for an implementation. It is up to the implementation to deal with messages robustly."

[2003-11-16 23:23 UTC] heino at php dot net

This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pear.php.net.

In case this was a pear.php.net website problem, the change will show
up on the website in short time.

Thank you for the report, and for helping us make PEAR better.