You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by us...@apache.org on 2014/01/23 15:17:12 UTC
git commit: Add parans to the _right_ place to fix build with -Wall
Updated Branches:
refs/heads/master e4e79401d -> 8cf2b4d7c
Add parans to the _right_ place to fix build with -Wall
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/8cf2b4d7
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/8cf2b4d7
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/8cf2b4d7
Branch: refs/heads/master
Commit: 8cf2b4d7c46702c289b664df554623f6950dcfc3
Parents: e4e7940
Author: Uri Shachar <us...@apache.org>
Authored: Thu Jan 23 16:06:22 2014 +0200
Committer: Uri Shachar <us...@apache.org>
Committed: Thu Jan 23 16:06:22 2014 +0200
----------------------------------------------------------------------
proxy/http/HttpTransact.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/8cf2b4d7/proxy/http/HttpTransact.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpTransact.cc b/proxy/http/HttpTransact.cc
index 2582d15..a3187b2 100644
--- a/proxy/http/HttpTransact.cc
+++ b/proxy/http/HttpTransact.cc
@@ -6753,8 +6753,8 @@ HttpTransact::handle_response_keep_alive_headers(State* s, HTTPVersion ver, HTTP
ka_action = KA_DISABLED;
}
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))) {
+ ((s->source == SOURCE_HTTP_ORIGIN_SERVER && s->current.server->transfer_encoding != NO_TRANSFER_ENCODING)
+ || 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;