[mod_deflate] Fix bzip2 encoding

personal/stbuehler/wip
Stefan Bühler 13 years ago
parent 5e063e2b04
commit 7174ca4d15

@ -450,7 +450,7 @@ static liHandlerResult deflate_filter_bzip2(liVRequest *vr, liFilter *f) {
bz->next_out = (char*) ctx->buf->data;
bz->avail_out = ctx->buf->len;
}
} while (rc == BZ_RUN_OK);
} while (rc == BZ_RUN_OK || rc == BZ_FINISH_OK);
if (debug) {
VR_DEBUG(vr, "deflate finished: in: %i, out : %i", (int) bz->total_in_lo32, (int) bz->total_out_lo32);

Loading…
Cancel
Save