Bug 57770 - Compress the headers for download
Compress the headers for download
Status: CLOSED DEFERRED
Product: Red Hat Network
Classification: Red Hat
Component: RHN/Backend (Show other bugs)
RHN Stable
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Mihai Ibanescu
Fanny Augustin
: FutureFeature
Depends On: 77017
Blocks:
  Show dependency treegraph
 
Reported: 2001-12-21 14:21 EST by Hunter Matthews
Modified: 2007-04-18 12:38 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-09-17 15:57:15 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Hunter Matthews 2001-12-21 14:21:51 EST
Description of Problem:

RHN at least with client 2.7.4 does not compress the rpm 
headers 
before downloading them, as it does with the listPackages info.

Without 
modifing the client, the server could compress the headers and
have the normal cgiwrap 
decompression work by setting the Content-Type
to "application/compressed-octet-
stream"

This is probably only important for modem connected users, as most headers are 
not that large.
Comment 1 Mihai Ibanescu 2001-12-21 14:41:40 EST
This is a known issue. The compression can't be initiated from the server side
since it would break old clients. The client has to explicitly say it wishes the
headers to be compressed, but this would trigger another bug in python's socket
module.

We should be able to turn compression on for the new clients, though.
Comment 2 Cristian Gafton 2002-07-18 15:26:21 EDT
misa, please take care of this issue
Comment 3 Mihai Ibanescu 2002-07-18 16:07:04 EDT
The header is already a compact binary representation, I will have to run some
benchmarks to see how well a header compresses. listPacakages is a different
beast, its output is XML, and XML compresses well (IIRC, from 100k to 16k).
Comment 4 Todd Warner 2002-09-17 15:32:59 EDT
Header is already a compact binary representation...

Shall we close this???
Comment 5 Hunter Matthews 2002-09-17 15:57:08 EDT
Sure (it was a suggestion, not a bug report) In playing around here, there's
_is_ an advantage to compressing the headers, but it would only be noticable on
modem lines.

Note You need to log in before you can comment on or make changes to this bug.