Thread View: news.software.nntp
2 messages
2 total messages
Started by Mark
Tue, 26 Feb 2002 00:46
nextmsg
Author: Mark
Date: Tue, 26 Feb 2002 00:46
Date: Tue, 26 Feb 2002 00:46
40 lines
2642 bytes
2642 bytes
Dear people,
I have a question about the "nextmsg" command in the NNTP protocol. Let me
give an example in Perl. The language is unimportant, though.
Say, I have requested the status of an article (last in spool), with:
$c -> stat ($msg_id);
Assume also that I am already in a GROUP. And this message was confirmed as
existing. When I then ask for a nextmsg, things go wrong.
while ($msg_id = $c -> nextmsg ()) {
@article = $c -> article ($msg_id);
}
Something odd happens here. The server returns a valid message-id on the
"nextmsg" command; but when I then try and retrieve that article, it
reports:
430 No Such Article
I find this rather strange. I mean, if the "nextmsg" command returns a valid
message-id, does this than not mean that the article should exist too?
Instead, what happens is that the remote server spews a few hundred of these
errors for eaxg "nextmsg" article it cannot retrieve the article for, and
then seems to start from the very first article in the group -- which really
messes up the spool, of course.
Am I missing something? My thinking was that it is always better to retrieve
a STAT per message-id, not article number. But maybe, if the article is
crossposted, an amiguity might exist?
Any comments would be highly appreciated,
- Mark
Re: nextmsg
Author: Jeffrey M. Vinocur
Date: Sun, 24 Mar 2002 19:09
Date: Sun, 24 Mar 2002 19:09
23 lines
1644 bytes
1644 bytes
In article <SVAe8.238841$eS3.17158210@bin3.nnrp.aus1.giganews.com>, Mark <admin@asarian-host.net> wrote: > >Something odd happens here. The server returns a valid message-id on the >"nextmsg" command; but when I then try and retrieve that article, it >reports: > >430 No Such Article > >I find this rather strange. I mean, if the "nextmsg" command returns a valid >message-id, does this than not mean that the article should exist too? It's always possible for an article to be cancelled in between the time you notice its existence and the time you attempt to retrieve it. Are you having this problem often? -- Jeffrey M. Vinocur jeff@litech.org
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads