Article View: news.software.nntp
Article #61581Re: Message-ID generated by newsserver
From: Russ Allbery
Date: Wed, 23 Oct 2002 01:22
Date: Wed, 23 Oct 2002 01:22
37 lines
2915 bytes
2915 bytes
Curt Welch <curt@kcwc.com> writes:
> I don't think so. But then I've never had problems with timeouts like
> that so I don't see that as a big enough problem to worry about. But
> maybe with some servers that's a big enough problem that generating the
> Message-ID and making sure to use the same one when you re-try the post
> later might be an advantage.
> But to me, any server that can timeout on a post might also put the
> message-id into the history but then fail to actually post the
> article. So if you try to repost with the same message-id that may get
> rejected as a dup even though the first article failed to be posted.
It's not necessarily the server. It's the same issue as you have with
SMTP; if you send the message and then get a network timeout before you
get the response to POST, you don't know if it's been sent or not.
The current NNTP RFC draft, in the section on POST, has:
The client SHOULD NOT assume that the article has been successfully
transferred unless it receives an affirmative response from the
server. Since, however, the affirmative response may have been sent
and lost, the client SHOULD use the same message-id in the article
when resending it or check whether the article was successfully posted
before resending it to ensure that the resend will not result in a
duplicate article.
The SHOULD is intentional (meaning, in standards-speak, that you ideally
will do this, and should make an effort to do it, but there may be
circumstances under which you can't or where it isn't a good idea).
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<yladl6rlsl.fsf@windlord.stanford.edu>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!shelby.stanford.edu!not-for-mailReferences:
<4b880fd8d4sclaes@aaug.net> <20021019224600.727$Ng@newsreader.com> <20021022225813$2d5c@vinc17.org> <20021022211105.892$FR@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <yladl6rlsl.fsf@windlord.stanford.edu> Subject: Re: Message-ID generated by newsserver Date: Tue, 22 Oct 2002 18:22:50 -0700 From: Russ Allbery <rra@stanford.edu> References: <4b880fd8d4sclaes@aaug.net> <20021019224600.727$Ng@newsreader.com> <20021022225813$2d5c@vinc17.org> <20021022211105.892$FR@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!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 36 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1035336171 1844 171.64.13.23 (23 Oct 2002 01:22:51 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter, sparc-sun-solaris2.6) Cancel-Lock: sha1:BIdF8apnKU00FNs25nG8N7gz+QM=