Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Varnish: Dev
Compression in Varnish
 

Index | Next | Previous | View Flat


stas.semeniuta at gmail

Mar 20, 2012, 4:29 AM


Views: 393
Permalink
Compression in Varnish

Hi, everyone

When looking through varnish code, I noticed, that Varnish uses it's own
libvgz to compress and uncompress data. As far as I understand, this libvgz
is actually a zlib. The question is, why zlib isn't used directly?
Also, I use zlib in a vmodule, and when this vmodule is loaded, functions,
which are really called, are ones from libvgz. After noticing this, I
switched zlib to libvgz, but inflate function reports Z_DATA_ERROR on
gzipped data. Other tools, which do gunzipping, successfully unzip this
data. Do I need to do something special to use libvgz functions, or it's
same, as zlib? I mean something like pass set up extra variables, or do
extra initialization. In case I do, what?

Thaks in advance, Stas

Subject User Time
Compression in Varnish stas.semeniuta at gmail Mar 20, 2012, 4:29 AM
    Re: Compression in Varnish slink at schokola Mar 23, 2012, 7:38 AM
    Re: Compression in Varnish phk at phk Mar 26, 2012, 12:02 AM
        Re: Compression in Varnish stas.semeniuta at gmail Mar 27, 2012, 2:03 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.