Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request compressed rpm transfer #146

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 20, 2018

  1. Request compressed rpm transfer

    if server supports it, this can save 10-70% of transfer bandwidth
    because (d)rpm metadata is uncompressed
    
    E.g.
    curl -L -v http://download.opensuse.org/update/leap/15.0/oss/noarch/kernel-source-vanilla-4.12.14-lp150.12.22.1_lp150.12.25.1.noarch.drpm | gzip -c1 | wc -c
    compresses 11157036 bytes to 4161087
    
    On the downside, it adds 32 byte to every HTTP request header
    which would add 256 microseconds on a 1MBit/s line.
    bmwiedemann committed Nov 20, 2018
    Configuration menu
    Copy the full SHA
    dda8442 View commit details
    Browse the repository at this point in the history