https://issues.apache.org/bugzilla/show_bug.cgi?id=55666
--- Comment #13 from Yann Ylavic <[email protected]> --- Created attachment 30974 --> https://issues.apache.org/bugzilla/attachment.cgi?id=30974&action=edit inflate input filter header buffering (trunk 2/6) Patch 2. Handle Zlib header buffering in the inflate input filter : - uses the new deflate_ctx_t fields from the previous patch 1, - fixes the double ap_get_brigade() when an EOS brigade is encountered while reading the header, eg : /* zero length body? step aside */ bkt = APR_BRIGADE_FIRST(ctx->bb); if (APR_BUCKET_IS_EOS(bkt)) { + APR_BUCKET_REMOVE(bkt); + APR_BRIGADE_INSERT_TAIL(bb, bkt); ap_remove_input_filter(f); - return ap_get_brigade(f->next, bb, mode, block, readbytes); + return APR_SUCCESS; } -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
