[Varnish] #1688: ESI-included synthetic response is delivered uncompressed within a gzipped response

Varnish varnish-bugs at varnish-cache.org
Tue Mar 3 18:24:15 CET 2015


#1688: ESI-included synthetic response is delivered uncompressed within a gzipped
response
----------------------------------------+----------------------------------
 Reporter:  geoff                       |       Owner:  phk
     Type:  defect                      |      Status:  closed
 Priority:  normal                      |   Milestone:  Varnish 4.0 release
Component:  varnishd                    |     Version:  4.0.3
 Severity:  major                       |  Resolution:  fixed
 Keywords:  esi include synthetic gzip  |
----------------------------------------+----------------------------------

Comment (by geoff):

 OK, I've tested this patch with 4.0.3 now (git checkout varnish-4.0.3 and
 then build), and I'm still getting the error. varnishtest fails with a
 gunzip error -- I'll attach another log of the test run.

 The synthetic part does not appear within a chunk in the midst of gzipped
 data, but rather in a separate chunk, without any other binary data in
 that chunk:

 {{{
 **** c1    0.5 len| 0015\r\n
 **** c1    0.5 chunk|
 \x1f\x8b\x08\x00\x00\x00\x00\x00\x02\x03\xb2\x89\x88\x8c\xb2\x03\x00\x00\x00\xff\xff
 **** c1    0.5 len| 0032\r\n
 **** c1    0.5 chunk| this is the body of an included synthetic response
 **** c1    0.5 len| 0019\r\n
 **** c1    0.5 chunk|
 \xb2\xd1\x8f\x88\x8c\xb2\x03\x00\x00\x00\xff\xff\x01\x00\x00\xff\xff\xa3\x8d\xb7\xdd\x0b\x00\x00\x00
 **** c1    0.5 len| 0\r\n
 **** c1    0.5 bodylen = 96
 }}}

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1688#comment:4>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list