Latest update - 7563

This commit is contained in:
2019-09-06 08:41:03 +09:00
parent 03397594eb
commit d808b37656
2 changed files with 7 additions and 2 deletions
+4 -2
View File
@@ -1674,8 +1674,10 @@ ngx_http_send_response(ngx_http_request_t *r, ngx_uint_t status,
ngx_buf_t *b; ngx_buf_t *b;
ngx_chain_t out; ngx_chain_t out;
if (ngx_http_discard_request_body(r) != NGX_OK) { rc = ngx_http_discard_request_body(r);
return NGX_HTTP_INTERNAL_SERVER_ERROR;
if (rc != NGX_OK) {
return rc;
} }
r->headers_out.status = status; r->headers_out.status = status;
+3
View File
@@ -2268,6 +2268,9 @@ ngx_http_parse_chunked(ngx_http_request_t *r, ngx_buf_t *b,
break; break;
case LF: case LF:
state = sw_chunk_start; state = sw_chunk_start;
break;
default:
goto invalid;
} }
break; break;