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:10:51 UTC
git commit: Add parans to fix build error with -Wall from commit
a5c00b225
Updated Branches:
refs/heads/master 6af64a9d2 -> e4e79401d
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/master
Commit: e4e79401da7d1c2eac1c67fd1b539eea98ea78f2
Parents: 6af64a9
Author: Uri Shachar <us...@apache.org>
Authored: Thu Jan 23 16:01:05 2014 +0200
Committer: Uri Shachar <us...@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;