Re: Nginx converts 409 from upstream to 502

2019-12-22 Thread Maxim Dounin
Hello! On Sat, Dec 21, 2019 at 07:49:06AM -0500, sachin.she...@gmail.com wrote: > Our request flow looks like this: > > client --> nginx --> haproxy --> tomcat > > Put requests with large bodies are used to upload files. Sometimes due to > some application logic, tomcat may reject an upload ear

Nginx converts 409 from upstream to 502

2019-12-21 Thread sachin.she...@gmail.com
Hi, Our request flow looks like this: client --> nginx --> haproxy --> tomcat Put requests with large bodies are used to upload files. Sometimes due to some application logic, tomcat may reject an upload early and return 409, tomcat does not drain the input stream, we do not want to read the inp