trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject [12/28] git commit: Add parans to fix build error with -Wall from commit a5c00b225
Date Mon, 27 Jan 2014 20:41:42 GMT
Add parans to fix build error with -Wall from commit a5c00b225


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/e4e79401
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/e4e79401
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/e4e79401

Branch: refs/heads/5.0.x
Commit: e4e79401da7d1c2eac1c67fd1b539eea98ea78f2
Parents: 6af64a9
Author: Uri Shachar <ushachar@apache.org>
Authored: Thu Jan 23 16:01:05 2014 +0200
Committer: Uri Shachar <ushachar@apache.org>
Committed: Thu Jan 23 16:01:05 2014 +0200

----------------------------------------------------------------------
 proxy/http/HttpTransact.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/e4e79401/proxy/http/HttpTransact.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpTransact.cc b/proxy/http/HttpTransact.cc
index 3f83952..2582d15 100644
--- a/proxy/http/HttpTransact.cc
+++ b/proxy/http/HttpTransact.cc
@@ -6754,7 +6754,7 @@ HttpTransact::handle_response_keep_alive_headers(State* s, HTTPVersion
ver, HTTP
   }
   else if (heads->status_get() == HTTP_STATUS_NO_CONTENT &&
       (s->source == SOURCE_HTTP_ORIGIN_SERVER && s->current.server->transfer_encoding
!= NO_TRANSFER_ENCODING
-       || heads->get_content_length() != 0)) {
+       || (heads->get_content_length() != 0))) {
     // some systems hang until the connection closes when receiving a 204 regardless of the
K-A headers
     // close if there is any body response from the origin
     ka_action = KA_CLOSE;


Mime
View raw message