Fix reported low water mark on empty newsgroups #250
Labels
bug
Something isn't working
C: nnrpd
Related to nnrpd
P: medium
Medium priority
RFC compliance
Related to NNTP standards and the format of Usenet articles
Milestone
When the highest used article number of an empty newsgroup is
n
, INN currently reportslow=n+1, high=n
.We should instead report
low=n, high=n-1
in accordance with RFC 3977 which recommends that the high water mark is one less than the low water mark.Besides, the reported low water mark currently exceeds 2^31-1 with that rule:
This should be fixed, and make sure that the reported high water mark cannot be negative.
The text was updated successfully, but these errors were encountered: