From: Michael Wallner Date: Wed, 11 Feb 2015 09:42:34 +0000 (+0100) Subject: no Content-Length on CONNECT responses X-Git-Tag: RELEASE_2_3_0_RC1~45 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=5e385d65a67052f3bfdf4efffcde7eedd844e34d;ds=sidebyside no Content-Length on CONNECT responses --- diff --git a/tests/proxy.inc b/tests/proxy.inc index 89d31f4..d6803db 100644 --- a/tests/proxy.inc +++ b/tests/proxy.inc @@ -9,7 +9,6 @@ foreach (range(8000, 9000) as $port) { if ($request->getHeader("Proxy-Connection")) { $response = new http\Env\Response; - $response->setHeader("Content-Length", 0); $response->send($client); /* soak up the request following the connect */