🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by Olaf Titz Sat, 24 Oct 1998 00:00
Idea: Server proposes Message-ID in POST response
#43876
Author: Olaf Titz
Date: Sat, 24 Oct 1998 00:00
35 lines
2386 bytes
I don't know if this has been proposed before, but it just has come
up in a discussion about the cancel-lock feature:

Often a client needs to know the Message-IDs of its own postings, for
bookkeeping purposes or to generate a Cancel-Lock header. This means
it has to generate its own IDs, which can lead to bogus domains and
ambiguity problems. Or does it have to generate the IDs itself? A
simple, backwards compatible NNTP protocol extension helps out:

When the server sees a POST command, it generates the Message-ID it
wants to use for the posting and returns this Message-ID in the 340
response. This Message-ID constitutes only a recommendation; the
client can use this ID, it can generate its own, or it can post
without Message-ID in which case the server will use exactly this
Message-ID for the posting.

The client identifies that the 340 response contains in fact a
Message-ID by the usual syntax /\<[^@>\s]+@[^@>\s]+\>/. If this
pattern is not contained in the response, it proceeds as usual with
generating its own ID.

This way, the client knows the Message-ID before sending the article
to the server and the server generates known good IDs.

I have a patch for INN 2.1 which implements this. It is rather
trivial. <URL:http://sites.inka.de/~bigred/sw/inn-msgid.txt>

olaf
-- 
___        Olaf.Titz@inka.de or @{stud,informatik}.uni-karlsruhe.de       ____
__ o           <URL:http://www.inka.de/~bigred/>     <IRC:praetorius>
__/<_              >> Just as long as the wheels keep on turning round
_)>(_)______________ I will live for the groove 'til the sun goes down << ____

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