You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by br...@apache.org on 2015/08/04 05:23:36 UTC

trafficserver git commit: TS-3776: traffic_server failed assert s->current.server->had_connect_fail()

Repository: trafficserver
Updated Branches:
  refs/heads/master 2ce049b03 -> 679006e2e


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/master
Commit: 679006e2e0de239d081268bc61f430f343271516
Parents: 2ce049b
Author: Brian Geffon <br...@apache.org>
Authored: Mon Aug 3 20:23:03 2015 -0700
Committer: Brian Geffon <br...@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: