php-proxy icon indicating copy to clipboard operation
php-proxy copied to clipboard

Does not work with PHP 5.6

Open malins opened this issue 7 years ago • 0 comments

Basically this is not working at all, at least with PHP 5.6. I'm using the samples right from the README file, without any success.

There are (at least) two problems in the request to the remote server.

  1. Transfer-Encoding: chunked (even for GET request) -- but there is no chunk following, hence the remote server is waiting until timeout.
  2. Connection: keep-alive -- the remote servers sends the response, the connection is kept alive, but the proxy doesn't forward the response to the client (browser).

I tested using version 3.0.0.

malins avatar Sep 05 '18 11:09 malins