Skip to content

Commit dfeaab4

Browse files
optimize: removed unreachable code in ngx_http_lua_send_http10_headers().
1 parent 816483d commit dfeaab4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/ngx_http_lua_util.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -764,10 +764,6 @@ ngx_http_lua_send_http10_headers(ngx_http_request_t *r,
764764
}
765765

766766
r->headers_out.content_length_n = size;
767-
768-
if (r->headers_out.content_length) {
769-
r->headers_out.content_length->hash = 0;
770-
}
771767
}
772768

773769
send:

0 commit comments

Comments
 (0)