http - nginx upload client_max_body_size issue - Stack Overflow - 0 views
-
nginx "fails fast" when the client informs it that it's going to send a body larger than the client_max_body_size by sending a 413 response and closing the connection.
-
Because nginx closes the connection, the client sends data to the closed socket, causing a TCP RST.
-
Most clients don't read responses until the entire request body is sent.
- ...2 more annotations...