🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #56580

Re: [yEnc] some newbie questions

#56580
From: The Archiver
Date: Sun, 17 Feb 2002 09:13
29 lines
2213 bytes
Thore Harald Hoye <thhoye-remove-@online.no> wrote:

>I'm using a slightly modified version of your reference implementation. I 
>have set line length to 250 bytes, and the version of ydec which comes 
>with bnews-utils decodes them without problem. Is that a mistake? Does 
>anybody not use the line= in the beginning of the yenc-part in their 
>decoder?

If you are setting the  line=  parameter to: line=250  and the message
is formatted correctly, then it should work on all decoders.

If you use  line=128  but encode lines with a size 250 then the decoders
_should_ report a line size error.

The purpose of the LINE parameter would be that a decoder could reject
messages if it cannot handle them. For example:  line=128000
might be rejected by some decoders.

And a decoder which is hunting for corrupt messages would be able
to show you the _line_ where a message is corrupt.
yEnc does also permit detailled _diagnostics_ on corrupt messages.
I believe that it is too simple to say "that message is corrupt - the server
is broken. Fix it." We also need diagnostics which help us to find 
what is broken - and how.

-- 
Juergen

Technical Details
Message-ID: <0113a.h22203@archiver.winews.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-xfer.siscom.net!not-for-mail
References: <3c6e6798.9093644@news> <32508.g22200@archiver.winews.net> <slrna6sgle.414.thhoye@whitestar.d2g.com>

Show Full Headers
Complete Article Headers
Message-ID: <0113a.h22203@archiver.winews.net>
Subject: Re: [yEnc] some newbie questions
Date: Sun, 17 Feb 2002 09:13:01 +0000
From: archiver@i3w.com (The Archiver)
References: <3c6e6798.9093644@news> <32508.g22200@archiver.winews.net> <slrna6sgle.414.thhoye@whitestar.d2g.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-xfer.siscom.net!not-for-mail
Newsgroups: news.software.nntp
X-Newsreader: MyNews
Lines: 28
Organization: Newshosting.com - Highest quality at a great price! www.newshosting.com
NNTP-Posting-Date: 17 Feb 2002 11:31:52 GMT
NNTP-Posting-Host: e95532ed.news.newshosting.com
X-Trace: DXC=0[T5WCVZ4T1JB_K:II6d<9X`1N4>^k1L3iF6BbIV4YY2LnHEXCOOR@?Lob;0m:>8K?3nWncBSY5k;DVD;P6?`fS7hHj];T3QSd?
X-Complaints-To: abuse@newshosting.com