Article View: news.software.nntp
Article #56694Re: Limiting XOVER by date ?
From: Curt Welch
Date: Wed, 20 Feb 2002 18:37
Date: Wed, 20 Feb 2002 18:37
31 lines
2756 bytes
2756 bytes
archiver@i3w.com (The Archiver) wrote: > btw.: The fact that there is no STOP command on NNTP forces the > programmer today to read an entire 500 KB article even if he wanted > just the first 10 kB to determine if he wanted the article. > (The only correct reaction would be to terminate the connection - and > then reconnect - which is also unacceptable for retrieval of 500 > articles). .... Yes - I'm already working on a few other nice extensions > to NNTP: .... Previews ;-))) If you want to talk NNTP extentions to deal with that problem, the best way is probably to add byte range options so the client can download partial segments of articles and restart previously aborted downloads. Something like "ARTICLE <num> [<startbyte>-<endbyte>]". With byte addresess that start at 0 please :). If the client wanted to download articles but stop after 5K it would just use a 0-5000 arg. If the article was less than the range, it would stop normally. There are a few tricky issues to deal with like how the terminating CR is dealt with and how you count (or don't count) leading dots etc, but that general approach would be much cleaner than trying to add a stop command and give the client all the power it really needed. The client still has the option of closing the connection if it really really needs a STOP command. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20020220133703.448$13@newsreader.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!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!hub1.meganetnews.com!hub1.nntpserver.com!peer1-sjc1.usenetserver.com!usenetserver.com!newsfeed1.cidera.com!Cidera!feed2.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<14029.d22200@archiver.winews.net> <20020213093719.452$nS@newsreader.com> <39149.e22201@archiver.winews.net> <140220021352177712%planb@newsreaders.com> <37537.j22204@archiver.winews.net>Show Full Headers
Complete Article Headers
Message-ID: <20020220133703.448$13@newsreader.com>
Subject: Re: Limiting XOVER by date ?
Date: Wed, 20 Feb 2002 18:37:03 +0000
From: curt@kcwc.com (Curt Welch)
References: <14029.d22200@archiver.winews.net> <20020213093719.452$nS@newsreader.com> <39149.e22201@archiver.winews.net> <140220021352177712%planb@newsreaders.com> <37537.j22204@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!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!hub1.meganetnews.com!hub1.nntpserver.com!peer1-sjc1.usenetserver.com!usenetserver.com!newsfeed1.cidera.com!Cidera!feed2.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com 0hs-BmIKBy1hH=bFmrGLox80C2iM=WjRfObVDCFl+qWNtH-
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
%IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 30