Thread View: news.software.nntp
8 messages
8 total messages
Started by Julien ÉLIE
Mon, 18 Oct 2010 20:27
RFC 6048 about additions to the LIST command
Author: Julien ÉLIE
Date: Mon, 18 Oct 2010 20:27
Date: Mon, 18 Oct 2010 20:27
27 lines
2145 bytes
2145 bytes
Hi all,
"NNTP Additions to LIST Command" will be published as RFC 6048
and is now in AUTH48.
http://www.rfc-editor.org/auth48/rfc6048
http://www.rfc-editor.org/authors/rfc6048.txt
I mention it to the newsgroup in case someone not subscribed
to the NNTP mailing-list has comments. Feel free to respond
if it is the case.
FYI, I have alreay posted a message to the mailing-list to mention
a few nits which appeared during the RFC Editor's reading:
http://lists.eyrie.org/pipermail/ietf-nntp/2010-October/006182.html
Thanks for your comments about these points, or of course other points.
--
Julien ÉLIE
« I've had bad luck with both my wives.
The first one left me, and the second one didn't. » (James Holt McGavran)
Re: RFC 6048 about additions to the LIST command
Author: D. Stussy
Date: Mon, 18 Oct 2010 21:56
Date: Mon, 18 Oct 2010 21:56
21 lines
2016 bytes
2016 bytes
"Julien ÉLIE" <iulius@nom-de-mon-site.com.invalid> wrote in message news:i9iaj8$p6k$1@news.trigofacile.com... > Hi all, > > "NNTP Additions to LIST Command" will be published as RFC 6048 > and is now in AUTH48. > > http://www.rfc-editor.org/auth48/rfc6048 > http://www.rfc-editor.org/authors/rfc6048.txt > ... Query - RE: LIST COUNTS. What should a client program do if the estimated number of articles EXCEEDS the difference between the high and low water marks for a group? Shouldn't the RFC address (or suggest) what to do when encountering such a problem? Is it an error, or something else? Can it actually occur (e.g. during an article expiration purge)?
Re: RFC 6048 about additions to the LIST command
Author: Julien ÉLIE
Date: Mon, 18 Oct 2010 22:47
Date: Mon, 18 Oct 2010 22:47
45 lines
3179 bytes
3179 bytes
Hi Dieter, > Query - RE: LIST COUNTS. > > What should a client program do if the estimated number of articles EXCEEDS > the difference between the high and low water marks for a group? It is an implementation issue on the client. You already know (according to a recent thread in this newsgroup) that pullnews just shows the number returned by the news server. Maybe the best thing to do is to return min(estimated count by news server, difference between high and low plus 1). Every client knows what use it does with the estimated count; it should just cope up with it. It is informative from a news server, and the right count is normally done by summing for instance a LISTGROUP answer. > Shouldn't the RFC address (or suggest) what to do when encountering such a > problem? I believe it is an implementation issue. There would be tons of places to suggest behaviours in RFCs (3977, 5537, etc.)... Why here, specifically for the count? > Is it an error, or something else? Can it actually occur (e.g. > during an article expiration purge)? It MUST NOT occur. If it happens, then it is a bug. See GROUP in RFC 3977: If the group is not empty, the estimate MUST be at least the actual number of articles available and MUST be no greater than one more than the difference between the reported low and high water marks. (Some implementations will actually count the number of articles currently stored. Others will just subtract the low water mark from the high water mark and add one to get an estimate.) -- Julien ÉLIE « Nunc est bibendum. » (Horace)
Re: RFC 6048 about additions to the LIST command
Author: D. Stussy
Date: Wed, 20 Oct 2010 02:56
Date: Wed, 20 Oct 2010 02:56
54 lines
3148 bytes
3148 bytes
"Julien ÉLIE" <iulius@nom-de-mon-site.com.invalid> wrote in message news:i9iip7$2e1$1@news.trigofacile.com... > > Query - RE: LIST COUNTS. > > > > What should a client program do if the estimated number of articles EXCEEDS > > the difference between the high and low water marks for a group? > > It is an implementation issue on the client. You already know (according to > a recent thread in this newsgroup) that pullnews just shows the number returned > by the news server. > Maybe the best thing to do is to return min(estimated count by news server, > difference between high and low plus 1). Every client knows what use it does > with the estimated count; it should just cope up with it. It is informative > from a news server, and the right count is normally done by summing for instance > a LISTGROUP answer. > > > > Shouldn't the RFC address (or suggest) what to do when encountering such a > > problem? > > I believe it is an implementation issue. There would be tons of places to > suggest behaviours in RFCs (3977, 5537, etc.)... Why here, specifically > for the count? > > > > Is it an error, or something else? Can it actually occur (e.g. > > during an article expiration purge)? > > It MUST NOT occur. > If it happens, then it is a bug. > > See GROUP in RFC 3977: > > If the group is not empty, the estimate MUST be at least the actual > number of articles available and MUST be no greater than one more > than the difference between the reported low and high water marks. > (Some implementations will actually count the number of articles > currently stored. Others will just subtract the low water mark from > the high water mark and add one to get an estimate.) Since we already have this last issue stated as precedent in RFC 3977 as a MUST, should this then also be carried to "LIST COUNTS" as a MUST...? ;-) (I think so. Hint!)
Re: RFC 6048 about additions to the LIST command
Author: Julien ÉLIE
Date: Wed, 20 Oct 2010 18:21
Date: Wed, 20 Oct 2010 18:21
30 lines
2652 bytes
2652 bytes
Hi Dieter, >> See GROUP in RFC 3977: >> >> If the group is not empty, the estimate MUST be at least the actual >> number of articles available and MUST be no greater than one more >> than the difference between the reported low and high water marks. >> (Some implementations will actually count the number of articles >> currently stored. Others will just subtract the low water mark from >> the high water mark and add one to get an estimate.) > > Since we already have this last issue stated as precedent in RFC 3977 as a > MUST, should this then also be carried to "LIST COUNTS" as a MUST...? ;-) > (I think so. Hint!) LIST COUNTS mentions: The reported high and low water marks, and the estimated number of articles, are as described in the GROUP command (see Section 6.1.1 of [RFC3977]) Why would it be necessary to repeat what is already said in Section 6.1.1? The estimate is defined there. I'm not very appealed by the idea of repeating the same thing... The reference to Section 6.1.1 is explicit! -- Julien ÉLIE « If you lie to the compiler, it will get its revenge. » (Henry Spencer)
Re: RFC 6048 about additions to the LIST command
Author: D. Stussy
Date: Fri, 22 Oct 2010 08:36
Date: Fri, 22 Oct 2010 08:36
32 lines
2615 bytes
2615 bytes
"Julien ÉLIE" <iulius@nom-de-mon-site.com.invalid> wrote in message news:i9nbvu$ffp$1@news.trigofacile.com... > >> See GROUP in RFC 3977: > >> > >> If the group is not empty, the estimate MUST be at least the actual > >> number of articles available and MUST be no greater than one more > >> than the difference between the reported low and high water marks. > >> (Some implementations will actually count the number of articles > >> currently stored. Others will just subtract the low water mark from > >> the high water mark and add one to get an estimate.) > > > > Since we already have this last issue stated as precedent in RFC 3977 as a > > MUST, should this then also be carried to "LIST COUNTS" as a MUST...? ;-) > > (I think so. Hint!) > > LIST COUNTS mentions: > > The reported high and low water marks, and the estimated number of > articles, are as described in the GROUP command (see Section 6.1.1 of > [RFC3977]) > > Why would it be necessary to repeat what is already said in Section 6.1.1? > The estimate is defined there. I'm not very appealed by the idea of > repeating the same thing... The reference to Section 6.1.1 is explicit! OK. I probably just ignored the reference.
Re: RFC 6048 about additions to the LIST command
Author: D. Stussy
Date: Fri, 22 Oct 2010 08:36
Date: Fri, 22 Oct 2010 08:36
32 lines
2685 bytes
2685 bytes
"Julien ÉLIE" <iulius@nom-de-mon-site.com.invalid> wrote in message news:i9nbvu$ffp$1@news.trigofacile.com... > >> See GROUP in RFC 3977: > >> > >> If the group is not empty, the estimate MUST be at least the actual > >> number of articles available and MUST be no greater than one more > >> than the difference between the reported low and high water marks. > >> (Some implementations will actually count the number of articles > >> currently stored. Others will just subtract the low water mark from > >> the high water mark and add one to get an estimate.) > > > > Since we already have this last issue stated as precedent in RFC 3977 as a > > MUST, should this then also be carried to "LIST COUNTS" as a MUST...? ;-) > > (I think so. Hint!) > > LIST COUNTS mentions: > > The reported high and low water marks, and the estimated number of > articles, are as described in the GROUP command (see Section 6.1.1 of > [RFC3977]) > > Why would it be necessary to repeat what is already said in Section 6.1.1? > The estimate is defined there. I'm not very appealed by the idea of > repeating the same thing... The reference to Section 6.1.1 is explicit! OK. I probably just ignored the reference.
Re: RFC 6048 about additions to the LIST command
Author: D. Stussy
Date: Fri, 22 Oct 2010 08:36
Date: Fri, 22 Oct 2010 08:36
32 lines
2599 bytes
2599 bytes
"Julien ÉLIE" <iulius@nom-de-mon-site.com.invalid> wrote in message news:i9nbvu$ffp$1@news.trigofacile.com... > >> See GROUP in RFC 3977: > >> > >> If the group is not empty, the estimate MUST be at least the actual > >> number of articles available and MUST be no greater than one more > >> than the difference between the reported low and high water marks. > >> (Some implementations will actually count the number of articles > >> currently stored. Others will just subtract the low water mark from > >> the high water mark and add one to get an estimate.) > > > > Since we already have this last issue stated as precedent in RFC 3977 as a > > MUST, should this then also be carried to "LIST COUNTS" as a MUST...? ;-) > > (I think so. Hint!) > > LIST COUNTS mentions: > > The reported high and low water marks, and the estimated number of > articles, are as described in the GROUP command (see Section 6.1.1 of > [RFC3977]) > > Why would it be necessary to repeat what is already said in Section 6.1.1? > The estimate is defined there. I'm not very appealed by the idea of > repeating the same thing... The reference to Section 6.1.1 is explicit! OK. I probably just ignored the reference.
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