Skip to content

Commit

Permalink
Return NGX_OK instead of NGX_DONE (#16)
Browse files Browse the repository at this point in the history
Perhaps, it will help with #11
  • Loading branch information
eustas committed Oct 5, 2018
1 parent 3baef85 commit 13f1b43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ngx_http_brotli_filter_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ static ngx_int_t ngx_http_brotli_body_filter(
ctx->success = 1;
r->connection->buffered &= ~NGX_HTTP_BROTLI_BUFFERED;
ngx_http_brotli_filter_close(ctx);
return NGX_DONE;
return NGX_OK;
}

if (ctx->in == NULL) {
Expand Down

0 comments on commit 13f1b43

Please sign in to comment.