proxy module handling early responses
    Maxim Dounin 
    mdounin at mdounin.ru
       
    Wed Dec 18 15:21:50 UTC 2019
    
    
  
Hello!
On Tue, Dec 17, 2019 at 06:37:58PM -0800, Frank Liu wrote:
> 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?
Exactly.
-- 
Maxim Dounin
http://mdounin.ru/
    
    
More information about the nginx
mailing list