Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 57770 - Compress the headers for download
Compress the headers for download
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
  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:
Last Closed: 2002-09-17 15:57:15 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
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 
before downloading them, as it does with the listPackages info.

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-

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

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.