Article View: news.software.nntp
Article #61590Re: Message-ID generated by newsserver
From: Curt Welch
Date: Wed, 23 Oct 2002 06:36
Date: Wed, 23 Oct 2002 06:36
49 lines
3766 bytes
3766 bytes
Russ Allbery <rra@stanford.edu> wrote: > 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. Yeah, I understant the problem. Though I had never thought much about it. > 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). That's interesting. Well, I think it really depends on what you are talking about. For a client that will try a re-post only on the manual command of the user, generating new message ids may be overall better and is not cleary wrong in my mind. You do have a chance of duplicates, but that I think is fairly balanced against the odds of a user not being able to post a message because a broken server has decided to never accept the article with that Message-ID. But for any client that could hang in a loop reposting the same article over and over forever until it gets posted correctly, using the same message-Id is really a MUST. Even then it's a very dangerous thing to do if you get a network error or timeout after you have sent the closing DOT. If that happens, the post should be aborted and not re-tried until a person looks at it and tells the software to try it again manually. From my point of view, once the client has gotten into that protocol gray area that happens after the closing DOT is sent and before a response is received, you really can't assume anything about whether it's posted, or if it was posted, OR what Message-ID it might have been posted with. Any attempt to programmatically fix the problem puts the client at risk of doing something wrong. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20021023023610.796$qp@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!bloom-beacon.mit.edu!ra.nrl.navy.mil!dca6-feed2.news.algx.net!allegiance!newsfeed1.cidera.com!Cidera!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<4b880fd8d4sclaes@aaug.net> <20021019224600.727$Ng@newsreader.com> <20021022225813$2d5c@vinc17.org> <20021022211105.892$FR@newsreader.com> <yladl6rlsl.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <20021023023610.796$qp@newsreader.com>
Subject: Re: Message-ID generated by newsserver
Date: Wed, 23 Oct 2002 06:36:10 +0000
From: curt@kcwc.com (Curt Welch)
References: <4b880fd8d4sclaes@aaug.net> <20021019224600.727$Ng@newsreader.com> <20021022225813$2d5c@vinc17.org> <20021022211105.892$FR@newsreader.com> <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!bloom-beacon.mit.edu!ra.nrl.navy.mil!dca6-feed2.news.algx.net!allegiance!newsfeed1.cidera.com!Cidera!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com 9ml.fjxsyZzq=mBM7EzkQ-5=oa3GioDP89Z9fMtk-@s0VE
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: 48