🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #61038

Re: [FNTP] 'in-completeness'

#61038
From: Kjetil Torgrim Homme
Date: Sat, 05 Oct 2002 01:13
51 lines
3158 bytes
[Ade Lovett]:
>
>   Also trivial to implement (at least for NNRP, where it's just the
>   addition of an optional <offset> to ARTICLE <id>|<num> [<offset>],
>   and what to do if the offset is silly (a new error code? Dunno,
>   thinking on the fly...)).
>   
>   This could actually be one of the first real uses for LIST
>   EXTENSIONS.  Restartable downloads.

we also need a mechanism for signalling an aborted transfer, at least
if we want to implement cut-through transit, rather than
store-and-forward.  TAKETHIS allows the recipient to say "239 article
transferred ok", but there is no way for the sender to say "sorry, it
turns out the article was incomplete".  a simple method is

  S: TAKETHIS <foo@bar>
  S: data
  S: data
  S: .439

if I read the RFC correctly, it is not currently possible to have a
line starting with period followed by anything other than another
period, or CR LF, which would indicate end of transmission.  extending
that to include an optional status code seems natural to me.

while we're at it, an ABORT command would be nice, mostly for readers,
but also for transit.  consider:

  S: TAKETHIS <zot@gazonk>
  S: Newsgroups: alt.binaries.some.uncarried.group
  S: Subject: Angel E02S03
  S: ...
  R: ABORT TAKETHIS <zot@gazonk>
  S: ...
  S: .439

the ABORT would be handled best effort by the server, as a guideline,
it should check for new input once a second.  (remember the context
here is huge articles.)

this might be worthwhile to save bandwidth when you don't want to
hassle your peer with updating the group list all the time.  you can
of course do all kinds of filtering, you can even look at the first
line of the body (=yenc...)

-- 
Kjetil T.   ==. ,,==. ,,==. ,,==. ,,==. ,,==
           ::://:::://:::://:::://:::://::::
           =='' `=='' `=='' `=='' `=='' `==  http://folding.stanford.edu
Technical Details
Message-ID: <1r8z1dadsi.fsf@atta.ifi.uio.no>
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!newsfeed.icl.net!newsfeed.fjserv.net!news.algonet.se!algonet!newsfeed1.bredband.com!bredband!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail
References: <58068.n92202@archiver.winews.net> <yl7kgyrpwd.fsf@windlord.stanford.edu> <Xns929DD03393AD4nothing@209.98.50.131> <yl4rc1ixdo.fsf@windlord.stanford.edu> <upsas7o7bbvf8e@corp.supernews.com>

Show Full Headers
Complete Article Headers
Message-ID: <1r8z1dadsi.fsf@atta.ifi.uio.no>
Subject: Re: [FNTP] 'in-completeness'
Date: Sat, 05 Oct 2002 01:13:17 +0000
From: Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no>
References: <58068.n92202@archiver.winews.net> <yl7kgyrpwd.fsf@windlord.stanford.edu> <Xns929DD03393AD4nothing@209.98.50.131> <yl4rc1ixdo.fsf@windlord.stanford.edu> <upsas7o7bbvf8e@corp.supernews.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!newsfeed.icl.net!newsfeed.fjserv.net!news.algonet.se!algonet!newsfeed1.bredband.com!bredband!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail
Newsgroups: news.software.nntp
Organization: Dept. of Informatics, Univ. of Oslo, Norway
Lines: 50
NNTP-Posting-Host: atta.ifi.uio.no
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: maud.ifi.uio.no 1033780399 15185 129.240.65.208 (5 Oct 2002 01:13:19 GMT)
X-Complaints-To: abuse@ifi.uio.no
NNTP-Posting-Date: 5 Oct 2002 01:13:19 GMT
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7