[sylpheed:36461] A bug in treating empty newsgroups

Anton Shepelev anton.txt at gmail.com
Thu Jun 23 05:02:49 JST 2016


Hello, all

There seems to be bug in Sylpheed's NNTP implementation.
When entering any "empty" newsgroup the following  error
occurs:

  [21:22:32] NNTP> GROUP fido7.zx.spectrum
  [21:22:32] NNTP< 211 0 1240 1239 fido7.zx.spectrum
  [21:22:32] invalid article range: 1240 - 1239

This  article  range  is  in fact valid and indicates an
empty newsgroup:

,----[ https://tools.ietf.org/html/rfc3977#section-6.1.1 ]
| If the group is empty, one of the following three sit-
| uations  will  occur.   Clients  MUST accept all three
| cases; servers MUST NOT represent an  empty  group  in
| any other way.
|
|   -- The high water mark will be one less than the low
|      water mark, and the estimated article count  will
|      be  zero.  Servers SHOULD use this method to show
|      an empty group.  This is the only time  that  the
|      high  water  mark  can be less than the low water
|      mark.
`-----------

-- 
()  ascii ribbon campaign - against html e-mail
/\  http://preview.tinyurl.com/qcy6mjc [archived]


More information about the Sylpheed mailing list