Article View: news.software.nntp
Article #59267Re: threading problems on custom nntp server
From: Curt Welch
Date: Sat, 22 Jun 2002 03:31
Date: Sat, 22 Jun 2002 03:31
47 lines
3225 bytes
3225 bytes
"Charles M." <charles@semo.net> wrote: > I've written a newsgroup server, but when newsreaders get headers via > XOVER, the resulting threads are incorrect. I only started noticing this > when threads get to be more than a few levels deep. The behavior is that > some posts end up appearing as part of a thread even when, upon > inspecting the header, the post has no references listed. I tested with > OE and Xnews. You aren't being very specific about what you are seeing so it's hard to guess. And I don't see antyhing obviously wrong with the XOVER data. But here's a few commenets to think about... The root (first) article in a thread never has a References header yet it's always included in the thread -- so articles without References: are normal. It's placed there because some other article listed it's Message-ID in it's Reference's line. Some articles you find on Usenet are just broken and don't have References: so newsreaders commonly have code to thread based on other information, such as Subject, or if the ID of the article shows up in some other References: line. Also, newsreaders download XOVER data and then store it locally. If in your testing you wipe out the servers data and try restarting but don't also clear the newsreaders memory of the old data, you will see exactly the type of stuff you are talking about. The newsreader could be using the old xover data to thread the new articles. > I tried supporting Xref in the overview to see if it would help, but it > didn't. Is Xref required for threading to work? No. It shouldn't be. > Here is a sample session, where all lines shown are coming from my > server... > 57#9firstpost#95#9"Charles M." <charles@semo.net>#9Thu, 20 Jun 2002 > 11:48:51 -0500#9<57@test.com>#9<1@test.com> <9@test.com> <13@test.com> > <46@test.com>#90#90#9Xref: test.com test:57 0 bytes and 0 lines? I would suggest you put real numbers there. Though I don't see how that could be related to your threading problem. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20020621233125.763$to@newsreader.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!yellow.newsread.com!bad-news.newsread.com!netaxs.com!newsread.com!feed1.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<uh4k8qn82pdc58@corp.supernews.com>Show Full Headers
Complete Article Headers
Message-ID: <20020621233125.763$to@newsreader.com>
Subject: Re: threading problems on custom nntp server
Date: Sat, 22 Jun 2002 03:31:25 +0000
From: curt@kcwc.com (Curt Welch)
References: <uh4k8qn82pdc58@corp.supernews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!yellow.newsread.com!bad-news.newsread.com!netaxs.com!newsread.com!feed1.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com vsvOVF23coalv8xFzQ8Nxzs=ko+zBzy3Rw_XO5DCF_s=_UAII
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
%IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 46