2
0
Fork 0

[mod_deflate] Fix bzip2 encoding

This commit is contained in:
Stefan Bühler 2010-06-06 14:09:55 +02:00
parent 5e063e2b04
commit 7174ca4d15
1 changed files with 1 additions and 1 deletions

View File

@ -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);