Article View: news.software.nntp
Article #46291Re: INN 2.3.0 public beta
From: Process Pasteurized Fluffy Produ...
Date: Thu, 04 May 2000 00:00
Date: Thu, 04 May 2000 00:00
100 lines
5182 bytes
5182 bytes
[I sent this as a mail reply but meant to post. Sorry about that.] Curt Welch <curt@kcwc.com> wrote: > Process Pasteurized Fluffy Product <supersede@india.com> wrote: >> Here's something to play with on recent 2.3 k0dez. > Cool. Thanks. I really need to stop playing with this junk but want to at least put something fairly clean out there to play with. I'll slap up a revised copy of the patch somewhere later tonight that mops up a few bits of stupidity I noticed: superfluous COPY/DISPOSE macros yanked out (left over from using SendIOv before settling on SendIOb), a space was being output where it should have been a tab [the msgid case you noted, I think], and "real" headers ought to be mangled XOVER-style just in case tabs be there. > As far as I can tell from a quick scan of the code it looks almost > identical to my implementaion (minus the optional :wildmat args for each > header argument). I was a little troubled about how to proceed. Wildmats are usually allowed to be strung together so there can be whitespace in the search, and the current syntax would seem not to lend itself to that. Would it be okay to leave that buglet in the command and just document it? > I think I did bascially the same thing you did which was to take the > xhdr code and add support for multiple headers. Yeah, pretty much. BTW, I don't recall seeing it mentioned in the threads worrying about potential inefficiency when an article fetch gets used for non-overview headers, that HEADERS would be more efficient than XHDR/XPAT in the case that the client wants to see two or more non-overview headers. > a message-ID is used to specify the article. I do this: > 221 0 <87d7n2vkx9.fsf@meowhost.meow.invalid> > 0 Wouf > . > Where as you did this: > HEADERS <87d7n2vkx9.fsf@meowhost.meow.invalid> x-meow > 221 headers follow. > <87d7n2vkx9.fsf@meowhost.meow.invalid> Wouf Yeah. The thinking there is that the msgid variant is going to be useful for things like offline readers and suck-type programs, which like to use batched commands and might have trouble keeping state, but maybe that's a silly concern? OTOH, I didn't want to put the ID in the 2xx response line because then it was inconsistent with the number-range variant [but more on this below]. > Putting the Message-ID first and following it with a space instead > of a tab. That be a typo. "it needs work" really, really meant that. [...] > Buy now that I think more about this, what I think actaully needs to be > done here is to use a new return code for the HEADERS output instead of > re-using 221 which is already used for HEAD, XHDR, XPAT, and PAT commands. Yeah, a unique response code would be nice, again for clients trying to do fancy async things. The current namespace (numberspace?) for NNTP responses scares the bejeezuz outta me, so (like with the wildmat thingy) ignoring the problem had appeal. > XOVER uses 224 so I'd suggest using the next code after that: 225 -- which > as far as I can tell isn't being used. Okay, so how do we keep it that way? Just yell DIBS!!!!1! ? > And then make the output well > defined so it can be machine > parsed: > 225 message-id|range header-list IOW, echo back the client's command. Do I understand that that right? Seems like it would to the job. If that's it, then using the 0 in the detail line for the msgid case would make more sense. > Any thougts about using the 225 return code like this? I just gave them in the last paragraph, so if you're reading this bottom to top, I'll get to that earlier. > I've gone ahead and changed my implementation to do this now and my > HEADERS by Message-ID includes the Message-ID as the first field > instead of a 0. Imaginary newsreaders the world over thank you for helping to make our respective versions of this imaginary command more interoperable. -- eludom
Technical Details
Message-ID:
<87u2gdu9xb.fsf@meowhost.meow.invalid>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:
<yl7ldiu3j8.fsf@windlord.stanford.edu> <bill-3004002219240001@fireproof.scconsult.com> <957160457.365327@news.netscum.dk> <bill-0105001931200001@fireproof.scconsult.com> <957242886.971518@news.netscum.dk> <87d7n2vkx9.fsf@meowhost.meow.invalid> <20000504124431.501$m8@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <87u2gdu9xb.fsf@meowhost.meow.invalid> Subject: Re: INN 2.3.0 public beta Date: Thu, 04 May 2000 00:00:00 +0000 From: Process Pasteurized Fluffy Product <supersede@india.com> References: <yl7ldiu3j8.fsf@windlord.stanford.edu> <bill-3004002219240001@fireproof.scconsult.com> <957160457.365327@news.netscum.dk> <bill-0105001931200001@fireproof.scconsult.com> <957242886.971518@news.netscum.dk> <87d7n2vkx9.fsf@meowhost.meow.invalid> <20000504124431.501$m8@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!not-for-mail X-Deja-AN: 619375506 Mail-Copies-To: never Content-Type: text/plain; charset=us-ascii X-Complaints-To: newsabuse@supernews.com X-Face: #!n`o'kqzEiF(\CL4IR$H.F-||!S*5wv~g8~prn}Z<+F/-^?oJ:#_V#QP?G}!!yayV0]i\' GTb6:]Tic*!vjH}wm>ILhZBn8U0XEjh'l~yrjB?4Iiph5N9:kwqd/}86UTr9i|LCu]Bd)~G1R9U(qJ KOyEQK8*? Organization: If one may meow, all may meow. User-Agent: Gnus/5.0802 (Gnus v5.8.2) XEmacs/21.1 (Bryce Canyon) MIME-Version: 1.0 Newsgroups: news.software.nntp X-Meow: Wouf