Re: Proxy Request buffering not working as expected

2017-11-07 Thread Mohammad Puyandeh via nginx
>>If you add "--limit-rate 16000" to that curl command, do you see output >>from your back-end server immediately, or only after enough time has >>passed that your client has sent all of the content to nginx? It's after, so Nginx buffers correctly here and I was mistaken but now the question is,

Re: Proxy Request buffering not working as expected

2017-11-06 Thread Mohammad Puyandeh via nginx
If you report that nginx starts to send the content to the back-end before nginx has received all of the content from the client, then proxy_request_buffering is not working as intended. Yes, that's what I am reporting, I put together a very simple tornado (python) script, I used both tcp connect

Proxy Request buffering not working as expected

2017-11-06 Thread Mohammad Puyandeh via nginx
If I try to upload a 200M file using POST method, nginx will pass chunks to back-end in less than 3 meg chunks sample nginx config: worker_processes auto; user nginx; events { } http {     upstream servers {     server    127.0.0.1:;     }  server {    listen 80;    c