Re: Error response body not sent if upload is incomplete

2018-01-01 Thread Maxim Dounin
Hello! On Sat, Dec 30, 2017 at 06:04:26PM -0500, naktinis wrote: > Find the server logs below. It does seem to match what you've quoted. > > Do you think the upstream server (uwsgi) is the one not returning the body? > > I was able to fix this by consuming the request body in my application > b

Re: Error response body not sent if upload is incomplete

2017-12-30 Thread naktinis
Find the server logs below. It does seem to match what you've quoted. Do you think the upstream server (uwsgi) is the one not returning the body? I was able to fix this by consuming the request body in my application before returning the response. However, I'm still wondering how nginx is suppose

Re: Error response body not sent if upload is incomplete

2017-12-29 Thread Valentin V. Bartenev
On Friday, 29 December 2017 23:23:07 MSK naktinis wrote: > This happens using the ngx_http_uwsgi_module, but it seems this might be > more generic (i.e. also affects at least upstream servers). > > Here's what happens: > * I send a HTTP/1.1 POST request with a Content-Type: multipart/form-data; >

Error response body not sent if upload is incomplete

2017-12-29 Thread naktinis
This happens using the ngx_http_uwsgi_module, but it seems this might be more generic (i.e. also affects at least upstream servers). Here's what happens: * I send a HTTP/1.1 POST request with a Content-Type: multipart/form-data; header and a ~600kb file * Nginx receives the first part of the req