INN commit: trunk/nnrpd (article.c group.c list.c nnrpd.c nnrpd.h)
Julien ÉLIE
julien at trigofacile.com
Sun Aug 24 15:30:26 UTC 2008
Hi,
> Revision: 7966
>
> Add support for the official LISTGROUP command.
> A range can be specified as its third argument.
>
> The range is now properly parsed: "42-12" is kept as "42-12"
> and not changed to "42-".
It affects that:
> - if (*p == '\0' || (rp->High = atol(p)) < rp->Low)
> - /* "XHDR 234-0 header" gives everything to the end. */
> - rp->High = ARThigh;
I do not see in RFC 2980 that XHDR (and also XPAT and XOVER)
should behave this way: "42-12" => "42-".
Therefore, while implementing LISTGROUP, I switched to the
proper expansion such a range.
Of course I can change that for these three X* commands
but should it be done? It is not the right behaviour
according to RFC 2980.
--
Julien ÉLIE
« -- À trente jours de marche, aussi il vous faudra traverser le désert !
-- Je ne connais pas encore ce genre de traversée mais
par Toutatis, je suis certain de m'en sortir très vite ! » (Astérix)
More information about the inn-workers
mailing list