Giter Site home page Giter Site logo

Comments (5)

stormi avatar stormi commented on July 20, 2024 1

I misread what you wrote. No, I do get a compressed tar (which I prefer actually) :

~/Téléchargements $ file logs.tar 
logs.tar: gzip compressed data, last modified: Thu May 30 15:00:21 2024, from Unix, original size modulo 2^32 1047293300

from xen-orchestra.

julien-f avatar julien-f commented on July 20, 2024

If I used .tar, then it's likely that's what I got when I tested.

Is it possible that different versions of XenServer/XCP-ng produce different results?

from xen-orchestra.

stormi avatar stormi commented on July 20, 2024

It's always possible, but I doubt it. Aren't you the one compressing the file in d384c74#diff-831d0ae3a720846325d91f35b5746bd3d9e2fbcb5cdbc02ed79411c4486d2194R194 ? I'm not sure I read the code well, but that's what it looks like to me.

I just tested in XCP-ng 8.3 and it's the same result as in an up to date XCP-ng 8.2.1

from xen-orchestra.

julien-f avatar julien-f commented on July 20, 2024

Yes, XO may be compressing, but it is setting the content-encoding header accordingly which, I believe, will make the HTTP client decompress the result before passing it back (i.e. you should get a tar if it was originally a tar).

from xen-orchestra.

stormi avatar stormi commented on July 20, 2024

What I get is not a problem. The filename is, because, at least in firefox, it's still named logs.tar in the filesystem after downloading. A compressed tar should be named either .tar.gz or .tgz. To me, XO should append .gz to the name when compressing, in addition to setting the content-encoding header.

from xen-orchestra.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.