Klaus Demo nginx / 4bad9d0
Avoid sending "100 Continue" on 413 Request Entity Too Large. Patch by Igor Sysoev. Maxim Dounin 6 years ago
1 changed file(s) with 1 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
10001000 "client intended to send too large body: %O bytes",
10011001 r->headers_in.content_length_n);
10021002
1003 r->expect_tested = 1;
10031004 (void) ngx_http_discard_request_body(r);
10041005 ngx_http_finalize_request(r, NGX_HTTP_REQUEST_ENTITY_TOO_LARGE);
10051006 return NGX_OK;