The unified diff between revisions [7d693b6e..] and [489fd2f2..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'src/client_side.c'

#
#
# patch "src/client_side.c"
#  from [4b258b7a5b5bedb849df5fd524f799b736235972]
#    to [0db5cc4dce1a7318a44046503b6ddc84c79d20c4]
#
============================================================
--- src/client_side.c	4b258b7a5b5bedb849df5fd524f799b736235972
+++ src/client_side.c	0db5cc4dce1a7318a44046503b6ddc84c79d20c4
@@ -1449,7 +1449,11 @@ clientBuildReplyHeader(clientHttpRequest
 		    ||
 		    (strncasecmp(value, "Negotiate", 9) == 0 &&
 			(value[9] == '\0' || value[9] == ' '))) {
-		    httpHeaderPutStr(hdr, HDR_PROXY_SUPPORT, "Session-Based-Authentication");
+
+		    if(!request->flags.accelerated) {
+			    httpHeaderPutStr(hdr, HDR_PROXY_SUPPORT, "Session-Based-Authentication");
+			    httpHeaderPutStr(hdr, HDR_CONNECTION, "Proxy-support");
+		    }
 		    request->flags.pinned=1;
 		    request->flags.must_keepalive = 1;
 		    http->conn->pinned=1;