[Varnish] #1039: gzipped content is broken when mixing ESI & compression and having a HIT

Varnish varnish-bugs at varnish-cache.org
Mon Oct 24 17:07:11 CEST 2011


#1039: gzipped content is broken when mixing ESI & compression and having a HIT
----------------------+-----------------------------------------------------
 Reporter:  niko      |        Type:  defect
   Status:  new       |    Priority:  normal
Milestone:            |   Component:  build 
  Version:  3.0.1     |    Severity:  normal
 Keywords:  ESI gzip  |  
----------------------+-----------------------------------------------------
 Basically everytime I have a cache HIT when requesting gezipped content
 the unzipping fails with a "gzip: stdin: unexpected end of file". To
 reproduce feel free to hit this URL with w3m:

 w3m -dump http://api.laut.fm/stations?broken_gzip

 Be shure to have a cache HIT. When having a HIT the cache expires, so the
 next is a MISS again.

 I posted the IRC log with @scoof  (thanks for the help, mate), the varnish
 log, the panic.show, some syslog lines and my VCL in this gist:
 https://gist.github.com/6236cbfbdd3885a706f6

 When not accepting compressed content everything works fine.

 I could reproduce this with 3.0.0 and 3.0.1.

 (I was unsure wether to attache the stuff in the gist as files. It seems
 more accessible as  gist to me. Just drop a note and I'll include them as
 files)

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1039>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list