🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #53495

Re: Header compression - necessary, useful, senseless ?

#53495
From: The Archiver
Date: Fri, 27 Jul 2001 08:12
22 lines
1686 bytes
curt@kcwc.com (Curt Welch) wrote:

>> Why? It would be easier to declare the lenght of the compressed data
>> before transmitting it unescaped.
>
>For that to work you would have to pre-compress all the headers to
>calculate the length before you could start sending the first byte - before
>you could even send the response since the size would most likely be
>included in the response line.  That would suck big time.  You need to
>compress and send the headers as you read them.

Most compressing algortihms I've seen yet are based on a block of data.
So perhaps 4-64 kBytes are compressed - and then moved to the 
'out-queue'. Such a compressed block might be sent out with a length
byte.

This would satisfy both of you.

-- 
Juergen, [The Archiver]

Technical Details
Message-ID: <4112a.r71201@archiver.winews.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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!novia!novia!news.alt.net!archiver.winews.net!not-for-mail
References: <3009e.q71214@archiver.winews.net> <20010726131654.725$7w@newsreader.com> <0t3b605fdfi155bn3e9%md@wonderland.linux.it> <20010726175821.025$Hd@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <4112a.r71201@archiver.winews.net>
Subject: Re: Header compression - necessary, useful, senseless ?
Date: Fri, 27 Jul 2001 08:12:41 +0000
From: archiver@i3w.com (The Archiver)
References: <3009e.q71214@archiver.winews.net> <20010726131654.725$7w@newsreader.com> <0t3b605fdfi155bn3e9%md@wonderland.linux.it> <20010726175821.025$Hd@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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!novia!novia!news.alt.net!archiver.winews.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Altopia Corp. - Usenet Access - http://www.altopia.com
Lines: 21
X-Newsreader: MyNews