Commit b50bbd6f authored by Dag Haavi Finstad's avatar Dag Haavi Finstad

Fix for an issue where the bodybytes counter is not updated correctly on gunzipped delivery

parent 8c821b77
...@@ -185,6 +185,7 @@ res_WriteGunzipObj(struct sess *sp) ...@@ -185,6 +185,7 @@ res_WriteGunzipObj(struct sess *sp)
(void)i; (void)i;
} }
if (obufl) { if (obufl) {
sp->wrk->acct_tmp.bodybytes += obufl;
(void)WRW_Write(sp->wrk, obuf, obufl); (void)WRW_Write(sp->wrk, obuf, obufl);
(void)WRW_Flush(sp->wrk); (void)WRW_Flush(sp->wrk);
} }
......
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