Solved. It's not nginx's problem. It's protocol stack. Especially on windows os. I found that client(windows os) did not reply ACK timely. It always sent a ACK after received lots of packets which cause the nginx proxy do not send packets uniformly. Then I used another linux pc to act as client. It's ok. Just for reference to those who maybe need it^_^ But there is sth I can not understby juanzi - Nginx Mailing List - English
Hi All, I tried to set proxy_buffering off in nginx.conf to avoid the buffering time of the proxy. It was expected to work so that the proxy can immediately transfer the response message from the server to the client. But it did not work. Just several beginning packets are immediately transferred. Then the proxy received about 16/17 packets with payload size 7240Bytes and then sent a 2920Bytby juanzi - Nginx Mailing List - English