Supply httpMsgIsPersistent() with request version it needs to determine client connection persistency rather than some irrelevant information. === modified file 'src/client_side.cc' --- src/client_side.cc 2010-08-07 14:22:54 +0000 +++ src/client_side.cc 2010-08-14 01:43:44 +0000 @@ -742,10 +742,7 @@ debugs(33, 3, "clientSetKeepaliveFlag: method = " << RequestMethodStr(request->method)); - /* We are HTTP/1.1 facing clients now*/ - HttpVersion http_ver(1,1); - - if (httpMsgIsPersistent(http_ver, req_hdr)) + if (httpMsgIsPersistent(request->http_ver, req_hdr)) request->flags.proxy_keepalive = 1; }