🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #23876

Re: NNTP Compression (was Re: Feed external process from Diablo?)

#23876
From: Christopher Sedore
Date: Tue, 02 Dec 1997 00:00
44 lines
2220 bytes


> From:	Christopher Sedore 
> Subject:	Re: NNTP Compression (was Re: Feed external process from
> Diablo?)
> 
> 	From:	Jeff Garzik 
> 
> 	Christopher Sedore wrote:
> 	> I use the same compression as gzip (from zlib).  I simply do a
> "mode
> 	> compress" after the mode stream, and do compression if I get a
> 203
	[...]

> 	The only downside is that you lost per-site granularity when
> using a TCP
> 	redirector...  it would be better if something like this made it
> into
> 	the core news router engines...  And make sure you default the
> feature
> 	to OFF.  :)
> 
> After a bit of hacking this evening, I got diablo 1.14 to receive
> compressed streams from NNTPRelay.  I'm looking into having diablo
> generate them, too, but it isn't quite as easy.
> 
Alright, so doing it for diablo wasn't as hard as I thought.  I have at
minimum a working on-the-fly compression between diablo and NNTPRelay.
Ignoring any bugs, it will also work diablo<->diablo and
NNTPRelay<->NNTPRelay.  Both can send and receive.  The code needs more
cleanup (like not using the streaming responses, etc), but it works now
and is fairly clean.  Actually, the diablo version is cleaner since it
was my second go-round :)

Time for bed,

-Chris




Technical Details
Message-ID: <4E86915F977FD0119BCD08002BE28C4B066C2D@exchange.maxwell.syr.edu>
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: <65v4k2$olp$1@roch.zetnet.co.uk> <65v91g$1jvm$1@newssvr03-int.news.prodigy.com> <4E86915F977FD0119BCD08002BE28C4B065DCE@exchange.maxwell.syr.edu> <65vl4i$nav$1@vixen.cso.uiuc.edu> <4E86915F977FD0119BCD08002BE28C4B065F9C@exchange.maxwell.syr.edu> <3483AF60.70402EBD@spinne.com> <4E86915F977FD0119BCD08002BE28C4B0669DC@exchange.maxwell.syr.edu>

Show Full Headers
Complete Article Headers
Message-ID: <4E86915F977FD0119BCD08002BE28C4B066C2D@exchange.maxwell.syr.edu>
Subject: Re: NNTP Compression (was Re: Feed external process from Diablo?)
Date: Tue, 02 Dec 1997 00:00:00 +0000
From: Christopher Sedore <cmsedore@maxwell.syr.edu>
References: <65v4k2$olp$1@roch.zetnet.co.uk> <65v91g$1jvm$1@newssvr03-int.news.prodigy.com> <4E86915F977FD0119BCD08002BE28C4B065DCE@exchange.maxwell.syr.edu> <65vl4i$nav$1@vixen.cso.uiuc.edu> <4E86915F977FD0119BCD08002BE28C4B065F9C@exchange.maxwell.syr.edu> <3483AF60.70402EBD@spinne.com> <4E86915F977FD0119BCD08002BE28C4B0669DC@exchange.maxwell.syr.edu>
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: 294726829
Sender: Christopher Sedore <cmsedore@maxwell.syr.edu>
Newsgroups: news.software.nntp