Article View: news.software.nntp
Article #41660Re: Inn patch for header only feed?
From: Kai 'wusel' Siering
Date: Fri, 19 Nov 1999 00:00
Date: Fri, 19 Nov 1999 00:00
50 lines
3116 bytes
3116 bytes
Katsuhiro Kondou <kondou@uxd.fc.nec.co.jp> wrote: % } Does anyone have a reasonably stable patch for inn/innfeed that will allow me % } to offer a header only feed to my dreaderd boxen? By stable, I am happy to use % } something that has been working for someone for over a month ;) % } % } I'm using INN 2.2.1 under Linux 2.0.x using CNFS. % % I don't think it's so difficult to do it. Changing % second argument for SMretrieve() in innfeed/article.c % to RETR_HEAD would help you. Err, you need to send control messages completely, and the headers need a "Bytes:" header -- quoting diablo-1.24-REL/README.READER: | DIABLO READER SUPPORT | | Diablo now has a reader module, dreaderd, which operates independantly | from the feeder. It implements the full NNTP command set and is | designed to maintain overview and an article cache based on a single | full or header-only feed supplied by a remote entity. If a full feed | is supplied, the reader module throws the body away since the feed is only | used to generate overview records. The reader module does NOT maintain | a history file, so you should only give it a single feed. If a header-only | feed is used, it is required to includes a Bytes: header in every article | and is required to include the entire article body for control messages. | The Diablo feeder is capable of outputing header-only feeds. [...] % } btw. is there plans/timeline for this feature being included in INN? 2.3? % % I think this kind of feed needs an nntp extension. I As already stated, it's "mode headfeed". Since I need this extension RSN, I'm going to patch innfeed some way or the other; if others are also working on this, I'd like to hear from you ;) (I intend to make this run-time configurable like streaming unless proven to be inefficient. Comments to this ap- proach apreciated; FollowUp-To: changed to poster for this reason.) kai -- Kai 'wusel' Siering eMail @ home: wusel@uu.org Traveller on the Information Highway doing full-time administration. The views expressed here are not neccessarily those of any employer. - Looking for peers for several non-european national TLHs, please - - contact me for details so we can arrange a peering. -
Technical Details
Message-ID:
<383547f2$0$6651@nnca-gtso-2.news.mediaWays.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:
<812atb$6qb$1@mired.zark.thedonkeys.org> <812hlh$hb8$1@inn.do.mms.mt.nec.co.jp>Show Full Headers
Complete Article Headers
Message-ID: <383547f2$0$6651@nnca-gtso-2.news.mediaWays.net> Subject: Re: Inn patch for header only feed? Date: Fri, 19 Nov 1999 00:00:00 +0000 From: wusel@uu.org (Kai 'wusel' Siering) References: <812atb$6qb$1@mired.zark.thedonkeys.org> <812hlh$hb8$1@inn.do.mms.mt.nec.co.jp> 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: 550519295 Followup-To: poster Content-Type: text/plain; charset=us-ascii X-Trace: nnca-gtso-2.news.mediaWays.net 943015922 6651 193.189.250.62 (wusel@gaspode.42.to) Organization: Unseen University Mime-Version: 1.0 Newsgroups: news.software.nntp