Article View: news.software.nntp
Article #33305Re: XHDR path doesn't work in INN 2.2 ?
From: Clayton O'Neill
Date: Thu, 26 Nov 1998 00:00
Date: Thu, 26 Nov 1998 00:00
47 lines
3054 bytes
3054 bytes
On Thu, 26 Nov 1998 11:41:05 GMT, Mark Burkley <mburkley@iol.ie> wrote: |usenet@oneill.net (Clayton O'Neill) wrote: |>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. It looks like either a "500 Syntax error or bad command" or "501 Bad command use" is the appropriate way to handle this. Which would you prefer? |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. Well, it'd still be better than downloading the entire message. Not much better, but better than nothing. |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. Yeah, I can see where NFilter would be useful. I was planning on taking a look at it myself. :) |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. Well, I could probbly start indexing on Path and NNTP-Posting-Host, but the it'll bloat the overview database a lot, and it'll only solve the problem for those two headers. I'd probably not add them to the XOVER response regardless since I doubt that all clients would handle the longer lines or the two extra fields in the response gracefully. FWIW, It looks like Typhoon has similar behavior, and from the short read of the Diablo source,it looks like it also, does, but I'm not sure. Matt, can you fill us in here?
Technical Details
Message-ID:
<slrn75qt2f.bic.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-mailReferences:
<36784cef.105998317@localhost> <slrn75ppt4.b5u.usenet@luser.oneill.net> <36673cc5.167396293@localhost>Show Full Headers
Complete Article Headers
Message-ID: <slrn75qt2f.bic.usenet@luser.oneill.net> Subject: Re: XHDR path doesn't work in INN 2.2 ? Date: Thu, 26 Nov 1998 00:00:00 +0000 From: usenet@oneill.net (Clayton O'Neill) References: <36784cef.105998317@localhost> <slrn75ppt4.b5u.usenet@luser.oneill.net> <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-mail X-Deja-AN: 415911966 X-Complaints-To: abuse@rcn.com X-Trace: Hx4WvrjkGzXXOJLqzhp+RARhWWfCxmuPeafk50ci1yc= User-Agent: slrn/0.9.5.3 (UNIX) NNTP-Posting-Date: 26 Nov 1998 15:31:28 GMT Newsgroups: news.software.nntp