Article View: news.software.nntp
Article #82083Re: Question about message numbers in news groups
From: Russ Allbery
Date: Fri, 13 Nov 2009 01:52
Date: Fri, 13 Nov 2009 01:52
33 lines
2732 bytes
2732 bytes
"D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:
> OK. If you oppose the large (64-bit) count, do you also oppose changing
> the 31-bit value to 32 bits (i.e. making it an unsigned quantity)?
Yes. I oppose violating the MUST in RFC 3977. This was a contentious
topic in the IETF working group with a lot of gotchas, which reached a
consensus conclusion. I'm very hesitant to then strike out on our own
without taking all of that discussion into account and following the plan
outlined in the working group discussion.
> That should be a minimal change and would probably affect few client
> programs (at least those that defined it as unsigned to begin with).
Please see the NNTP working group archive for the full discussion, which
included discussion of whether to relax the restriction to an unsigned
32-bit number. There are more clients than you think that use "int" to
store article numbers.
> If it must remain a signed quantity, then what does a negative value
> mean?
Negative values aren't allowed. See RFC 3977.
If we start sending article numbers larger than 2^31 - 1, some clients
will then see negative article numbers, and as you might expect strange
things then start happening.
--
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:
<87fx8jchsv.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.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news-xfer.nntp.sonic.net!news.kjsl.com!usenet.stanford.edu!news.stanford.edu!not-for-mailReferences:
<hdh39c$d96$1@news.mixmin.net> <20091112183047.0D63E1A7BC7@www.ecn.org> <hdhq3m$ggh$1@tioat.net> <hdhs48$r41$1@news.trigofacile.com> <hdi149$o2n$1@snarked.org> <87r5s3gysj.fsf@windlord.stanford.edu> <hdi2na$pp8$1@snarked.org> <87my2rgy90.fsf@windlord.stanford.edu> <hdid9m$s7a$1@snarked.org>Show Full Headers
Complete Article Headers
Message-ID: <87fx8jchsv.fsf@windlord.stanford.edu> Subject: Re: Question about message numbers in news groups Date: Thu, 12 Nov 2009 17:52:32 -0800 From: Russ Allbery <rra@stanford.edu> References: <hdh39c$d96$1@news.mixmin.net> <20091112183047.0D63E1A7BC7@www.ecn.org> <hdhq3m$ggh$1@tioat.net> <hdhs48$r41$1@news.trigofacile.com> <hdi149$o2n$1@snarked.org> <87r5s3gysj.fsf@windlord.stanford.edu> <hdi2na$pp8$1@snarked.org> <87my2rgy90.fsf@windlord.stanford.edu> <hdid9m$s7a$1@snarked.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news-xfer.nntp.sonic.net!news.kjsl.com!usenet.stanford.edu!news.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 33 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.stanford.edu 1258077152 15676 171.67.225.134 (13 Nov 2009 X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:Q5OqbjwPmR2YJS8U9BODvW1L0TI=