Welcome! Log In Create A New Profile

Advanced

a problem with chunked encoding

October 04, 2015 06:03AM
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-Encoding: chunked"
that i added in the php script.

How to solve the problem. Sorry about my broken English.

Here is my script:
https://github.com/esxgx/highway/blob/master/tun-crypt.php
Subject Author Posted

a problem with chunked encoding

esxgx October 04, 2015 06:03AM

Re: a problem with chunked encoding

Maxim Dounin October 05, 2015 08:42AM

Re: a problem with chunked encoding

esxgx October 07, 2015 08:29AM

Re: a problem with chunked encoding

Maxim Dounin October 07, 2015 11:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 319
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready