[Varnish] #1766: Provide an access to the request stack for ESI subrequests

Varnish varnish-bugs at varnish-cache.org
Mon Aug 3 14:03:57 CEST 2015


#1766: Provide an access to the request stack for ESI subrequests
---------------------------------+----------------------
 Reporter:  lisachenko.it@…      |       Owner:
     Type:  enhancement          |      Status:  closed
 Priority:  normal               |   Milestone:
Component:  varnishd             |     Version:  4.0.3
 Severity:  normal               |  Resolution:  invalid
 Keywords:  ESI, request, stack  |
---------------------------------+----------------------
Changes (by daghf):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Hi

 In Varnish's ESI processing, the headers of the main object are already on
 the wire by the time we get around to start handling any of its ESI
 includes. So any solution involving editing a parent request header from
 an ESI child request simply isn't going to be possible.

 Slightly related to this, 4.1 adds a way to pass data from a top level
 request down to its ESI children. We've added req_top to VCL, which
 provides read-only access to the top level request's req object.

 I'll close this ticket now, feel free to start a discussion on the mailing
 list if you'd like to follow up.

 Regards,
 Dag Haavi Finstad

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



More information about the varnish-bugs mailing list