proxy module handling early responses
Frank Liu
gfrankliu at gmail.com
Wed Dec 18 02:37:58 UTC 2019
Hi,
When using nginx as a reverse proxy, in case of a large POST payload, what
does nginx do when upstream server sends response before nginx finishes
posting the full payload?
One use case is upstream enforces some payload limit and sends a HTTP/413
response when the payload read reaches certain limit. Will nginx catch this
error, stop sending further, and return the 413 to client?
I see a stackoverflow discussion
<https://stackoverflow.com/questions/14250991/is-it-acceptable-for-a-server-to-send-a-http-response-before-the-entire-request>
for a different use case, not sure how nginx behaves.
Regards,
Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20191217/c8fe0b24/attachment.htm>
More information about the nginx
mailing list