🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #33338

Re: XHDR path doesn't work in INN 2.2 ?

#33338
From: Mark Burkley
Date: Fri, 27 Nov 1998 00:00
40 lines
2655 bytes
usenet@oneill.net (Clayton O'Neill) wrote:

>On Thu, 26 Nov 1998 16:47:05 GMT, Mark Burkley <mburkley@iol.ie> wrote: 
>usenet@oneill.net (Clayton O'Neill) wrote:
>|
>|>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? 
>|
>|I've no preference at all.  If I don't get a "221" I'll just warn the
>|user that it won't work.  That would be an improvement on the current
>|situation where it just silently continues but doesn't filter. 
>
>Ok, the code will now return a "501 Header not in index" error message.

Thanks, I'll change my code to take that possibility into account.

>|>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?
>
>I checked and it looks like Tortoise and Inktomi's news server can't return
>headers that aren't in the overview.  As far as I can tell, INN is the only
>server out there that's ever had this functionality.

Bummer.  Looks like nfilter will be pretty limited then. 

--
Mark Burkley                    mburkley @ { iol.ie | tecnomen.ie }

Technical Details
Message-ID: <3666df85.7905587@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
References: <36784cef.105998317@localhost> <slrn75ppt4.b5u.usenet@luser.oneill.net> <36673cc5.167396293@localhost> <slrn75qt2f.bic.usenet@luser.oneill.net> <365e83ab.185546992@localhost> <slrn75r2ps.bic.usenet@luser.oneill.net>

Show Full Headers
Complete Article Headers
Message-ID: <3666df85.7905587@localhost>
Subject: Re: XHDR path doesn't work in INN 2.2 ?
Date: Fri, 27 Nov 1998 00:00:00 +0000
From: mburkley@iol.ie (Mark Burkley)
References: <36784cef.105998317@localhost> <slrn75ppt4.b5u.usenet@luser.oneill.net> <36673cc5.167396293@localhost> <slrn75qt2f.bic.usenet@luser.oneill.net> <365e83ab.185546992@localhost> <slrn75r2ps.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-mail
X-Deja-AN: 416253669
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