Maxim Dounin, Thanks for your prompt reply~ ^ ^ Actually In my script, the tcp stream is encrypted and disguised as a normal chunked downloaded file to pass the firewall, and I need to control every chunk(the stream is encrypted in blocks, and a chunk represents a block) so that there is no specific protocol identification. If the script cannot control the process of chunked encoding, it sby esxgx - Nginx Mailing List - English
I wrote a php script, for socks over http proxy, generating “chunked encoding” format, adding a header(Transfer-Encoding: chunked) and I first used apache, it works well. But when I used nginx/php-fpm, I found the response chunked encoding twice. I tried to turn off chunked encoding with "chunked_transfer_encoding off", but in the response header, there were no "Transfer-Enby esxgx - Nginx Mailing List - English