]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3576: ICY streams being Transfer-Encoding:chunked
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 28 Jun 2012 05:15:20 +0000 (23:15 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 28 Jun 2012 05:15:20 +0000 (23:15 -0600)
src/client_side_reply.cc

index d0df511bd975c66a41e865dcf11d2366334bab2f..4d0af98f3497af54d1d429a3d7efa30193a9db9d 100644 (file)
@@ -1434,6 +1434,7 @@ clientReplyContext::buildReplyHeader()
 #endif
 
     const bool maySendChunkedReply = !request->multipartRangeRequest() &&
+                                     reply->sline.protocol == AnyP::PROTO_HTTP && // response is HTTP
                                      (request->http_ver >= HttpVersion(1, 1));
 
     /* Check whether we should send keep-alive */