🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #33309

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

#33309
From: Clayton O'Neill
Date: Thu, 26 Nov 1998 00:00
31 lines
2364 bytes
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.

|>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.

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

Show Full Headers
Complete Article Headers
Message-ID: <slrn75r2ps.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> <slrn75qt2f.bic.usenet@luser.oneill.net> <365e83ab.185546992@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: 415941876
X-Complaints-To: abuse@rcn.com
X-Trace: Z0oFSYabV2/0pMRtwFpM7/rX/TuCGe+H1LUrGFeT0lo=
User-Agent: slrn/0.9.5.3 (UNIX)
NNTP-Posting-Date: 26 Nov 1998 17:09:17 GMT
Newsgroups: news.software.nntp