#1771: External VDP filters can't change resp_len on cached objects
----------------------+-------------------
Reporter: fgsch | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Keywords:
----------------------+-------------------
If you push a VDP filter in vcl_deliver{} and it needs to change the
object's length, changing req->resp_len in either the vmod or the VDP init
function will be lost in cnt_vdp()
for cached objects.
For non-cached objects (bo != NULL) the filter could unset C-L to get away
but if we are coming from vcl_hit{} there is no way around it.
As per discussion on irc:
12:28 < phk> fgs, yes, right now. That's what I said yesterday: We need
to move that C-L thing up before vcl_deliver{}
To be addressed post release.
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1771>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
----------------------+-------------------
Reporter: fgsch | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Keywords:
----------------------+-------------------
If you push a VDP filter in vcl_deliver{} and it needs to change the
object's length, changing req->resp_len in either the vmod or the VDP init
function will be lost in cnt_vdp()
for cached objects.
For non-cached objects (bo != NULL) the filter could unset C-L to get away
but if we are coming from vcl_hit{} there is no way around it.
As per discussion on irc:
12:28 < phk> fgs, yes, right now. That's what I said yesterday: We need
to move that C-L thing up before vcl_deliver{}
To be addressed post release.
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1771>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs