Thread View: news.software.nntp
3 messages
3 total messages
Started by Asle Pedersen
Wed, 14 Jul 1999 00:00
truncating referenclists
Author: Asle Pedersen
Date: Wed, 14 Jul 1999 00:00
Date: Wed, 14 Jul 1999 00:00
9 lines
1030 bytes
1030 bytes
Are servers or clients ever truncating referencelists. And if so (they do!?), what end of the list is truncated. What are reasonable lengths of messageID, length of referencelists/ number of references that I should take into account when programming/constructing databases. -Asle Pedersen
Re: truncating referenclists
Author: Kjetil Torgrim Homme
Date: Wed, 14 Jul 1999 00:00
Date: Wed, 14 Jul 1999 00:00
15 lines
1220 bytes
1220 bytes
[Asle Pedersen] > Are servers or clients ever truncating referencelists. And if so > (they do!?), what end of the list is truncated. What are > reasonable lengths of messageID, length of referencelists/ number > of references that I should take into account when > programming/constructing databases. Servers never do. You can read what a client should do in the GNKSA 2.0 document: <URL:http://www.xs4all.nl/%7Ejs/gnksa/gnksa.txt> Kjetil T.
Re: truncating referenclists
Author: Jeremy
Date: Fri, 16 Jul 1999 00:00
Date: Fri, 16 Jul 1999 00:00
24 lines
1742 bytes
1742 bytes
Asle Pedersen <apederse@grm.hia.no> wrote: > Are servers or clients ever truncating referencelists. And if so (they > do!?), what end of the list is truncated. What are reasonable lengths of > messageID, length of referencelists/ number of references that I should > take into account when programming/constructing databases. Servers don't trim them, but clients often do when they get very long. The "right" way to do it is to keep the first one and at least the last three, and remove them in the middle, probably starting from #2, until the list becomes short enough. To avoid nastiness, though, it would be best if your code is prepared to handle a References header of arbitrary length. References can be wrapped onto multiple lines and thus won't necessarily be shorter than the max NNTP line length. Most of them won't be terribly long, but if you put a limit on it, someone will come along and break your code at some point. -- Jeremy | jeremy@exit109.com "Who's scruffy-looking?" --Han Solo
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