trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject [2/4] trafficserver git commit: TS-3776: traffic_server failed assert s->current.server->had_connect_fail()
Date Tue, 04 Aug 2015 16:04:37 GMT
TS-3776: traffic_server failed assert s->current.server->had_connect_fail()


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

Branch: refs/heads/6.0.x
Commit: 679006e2e0de239d081268bc61f430f343271516
Parents: 2ce049b
Author: Brian Geffon <briang@apache.org>
Authored: Mon Aug 3 20:23:03 2015 -0700
Committer: Brian Geffon <briang@apache.org>
Committed: Mon Aug 3 20:23:03 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/679006e2/proxy/http/HttpTransact.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpTransact.cc b/proxy/http/HttpTransact.cc
index b63f8bc..ff82c09 100644
--- a/proxy/http/HttpTransact.cc
+++ b/proxy/http/HttpTransact.cc
@@ -3658,7 +3658,8 @@ HttpTransact::handle_response_from_server(State *s)
     DebugTxn("http_trans",
              "[handle_response_from_server] Transaction received a bad response or a partial
response, not retrying...");
     SET_VIA_STRING(VIA_DETAIL_SERVER_CONNECT, VIA_DETAIL_SERVER_FAILURE);
-    handle_server_connection_not_open(s);
+    handle_server_died(s);
+    s->next_action = SM_ACTION_SEND_ERROR_CACHE_NOOP;
     break;
   }
   case OPEN_RAW_ERROR:


Mime
View raw message