Skip to content

Commit 30afc02

Browse files
committed
Hotfix impossible case in nginx module
1 parent c89c103 commit 30afc02

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/ngx_http_redirectionio_module_filter.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -474,10 +474,6 @@ static ngx_int_t ngx_http_redirectionio_buffer_read(ngx_buf_t *buffer, struct RE
474474
return NGX_OK;
475475
}
476476

477-
if (bsize < 0) {
478-
return NGX_DONE;
479-
}
480-
481477
if (!ngx_buf_in_memory(buffer) && !buffer->in_file) {
482478
return NGX_DONE;
483479
}

0 commit comments

Comments
 (0)