[Varnish] #1602: Assert error in ESI_DeliverChild(), cache/cache_esi_deliver.c line 530

Varnish varnish-bugs at varnish-cache.org
Thu Feb 26 12:43:17 CET 2015

#1602: Assert error in ESI_DeliverChild(), cache/cache_esi_deliver.c line 530
 Reporter:  cache_layer  |       Owner:  Poul-Henning Kamp <phk@…>
     Type:  defect       |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  build        |     Version:  trunk
 Severity:  normal       |  Resolution:  fixed
 Keywords:               |

Comment (by geoff):

 This problem (crash with the assertion failure shown above) is still
 occurring in release 4.0.3. The patch/commit in the previous comment is
 not included in 4.0.3, evidently because it requires changes (particularly
 in struct http_conn) that go far beyond the scope of the bugfix, and were
 not included in the release.

 The problem apparently does *not* occur for responses with status 200 and
 content-length == 0. But in my tests, it does occur in responses with
 status 204 (whose bodies are implicitly empty), provided the other
 conditions hold:

 * The response is ESI-included.
 * The response has the header Content-Encoding:gzip.

 I'll be attaching a modified version of r01602.vtc from above, which also
 has the 204 response. The requests/responses from the original VTC work
 without error, but the crash happens after the ESI-included 204 beresp is

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

More information about the varnish-bugs mailing list