Commit 556daaf5 authored by Nils Goroll's avatar Nils Goroll

no bytes pushed from vdp _fini

in the varnish-cache variant of the code this works because not VDP_Push
is used but the internal push to the parent
parent ac7d3837
......@@ -316,11 +316,11 @@ vped_gzgz_fini(struct req *req, void **priv)
uint32_t ilen;
struct vped_gzgz_priv *vgzgz;
(void) req;
CAST_OBJ_NOTNULL(vgzgz, *priv, VPED_GZGZ_PRIV_MAGIC);
*priv = NULL;
(void)VDP_bytes(req, VDP_FLUSH, NULL, 0);
icrc = vle32dec(vgzgz->tailbuf);
ilen = vle32dec(vgzgz->tailbuf + 4);
vgzgz->gz->crc = crc32_combine(vgzgz->gz->crc, icrc, ilen);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment