From fa6b6f1a46298f6c8957f67673d6ab1a75052e0b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 16 Aug 2016 10:14:48 +0200 Subject: proxy: fix tests as follow-up to 93b0d907d5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes tests that were added after 113f04e664b as the tests would fail otherwise. We bring back "Proxy-Connection: Keep-Alive" now unconditionally to fix regressions with old and stupid proxies, but we could possibly switch to using it only for CONNECT or only for NTLM in a future if we want to gradually reduce it. Fixes #954 Reported-by: János Fekete --- tests/data/test1141 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/data/test1141') diff --git a/tests/data/test1141 b/tests/data/test1141 index b0ff038c4..9c41d3935 100644 --- a/tests/data/test1141 +++ b/tests/data/test1141 @@ -58,10 +58,12 @@ HTTP redirect to http:/// (three slashes!) GET http://%HOSTIP:%HTTPPORT/want/1141 HTTP/1.1 Host: %HOSTIP:%HTTPPORT Accept: */* +Proxy-Connection: Keep-Alive GET http://foo.example.com/want/11410001 HTTP/1.1 Host: foo.example.com Accept: */* +Proxy-Connection: Keep-Alive -- cgit v1.2.3