Article View: news.software.nntp
Article #33304Re: XHDR path doesn't work in INN 2.2 ?
From: Mark Burkley
Date: Thu, 26 Nov 1998 00:00
Date: Thu, 26 Nov 1998 00:00
42 lines
2454 bytes
2454 bytes
usenet@oneill.net (Clayton O'Neill) wrote:
>My guess is that you're talking about our users complaining about it.
Yup :-)
>We no
>longer allow xhdr and xpat queries on headers that aren't in overview
>because of the large load that it causes on the server side. As far as I
>can tell the only news readers that use it are the various NewsWatchers and
>NFilter. Which one did you write? :)
NFilter.
>The problem is that the RFC doesn't allow for this behavior and there is no
>return code for "Header not found" or "Header not searchable". I could make
>it return a 501 or 502 code, but is your code ready to handle that?
A 4xx code would probably be more appropriate. I could handle either
4xx or 5xx. The question is where to go from there. Currently, if I
get anything other than 221 I abort the whole operation.
At the moment all I can do is tell people "sorry, this filter won't
work with your news server". I don't really want to implement a fall
back where it pulls the *entire* header for each article because that
would defeat the whole purpose of the exercise, especially since with
the articles you're filtering, the header is often bigger than the
body.
I can see XHDR would load the server. I guess I was thinking in terms
of saving network traffic, not in terms of server disk load. From an
end user's perspective the modem is the bottleneck.
Adding more fields to the XOVER isn't the answer either because then
you're forcing everyone to download extra info with the overview.
Pity really, because to do decent filtering you really do need access
to PATH and NNTP-POSTING-HOST to avoid morphers and the like.
--
Mark Burkley mburkley @ { iol.ie | tecnomen.ie }
Technical Details
Message-ID:
<36673cc5.167396293@localhost>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!not-for-mailReferences:
<36784cef.105998317@localhost> <slrn75ppt4.b5u.usenet@luser.oneill.net>Show Full Headers
Complete Article Headers
Message-ID: <36673cc5.167396293@localhost> Subject: Re: XHDR path doesn't work in INN 2.2 ? Date: Thu, 26 Nov 1998 00:00:00 +0000 From: mburkley@iol.ie (Mark Burkley) References: <36784cef.105998317@localhost> <slrn75ppt4.b5u.usenet@luser.oneill.net> 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!not-for-mail X-Deja-AN: 415863357 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Organization: Tecnomen Ltd. Mime-Version: 1.0 Reply-To: mburkley@iol.ie Newsgroups: news.software.nntp