> No, this is not how it works: nginx never use "Expect: > 100-continue" on requests to backends. It is, however, smart > enough to stop sending the body as long as the backend server > responds with an error, so (almost) no bandwidth is wasted. Yeah, that's my fault. I left "proxy_set_header Expect $http_expect" in the config but forgot it was there. I didn'tby kbolino - Nginx Mailing List - English
Use case: Large uploads (hundreds of megabytes to tens of gigabytes) where nginx is serving as a reverse proxy and load balancer. The upstream servers can get bogged down, and when they do, they apply backpressure by responding with 503 status code. Problem: Naively implemented, the client sends the entire request body off to the server, then waits to find out that the server can't handle the rby kbolino - Nginx Mailing List - English