trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject git commit: TS-1424: Change EREMOTEIO to ECONNABORTED
Date Mon, 26 Aug 2013 22:14:36 GMT
Updated Branches:
  refs/heads/master 68d5b163a -> ceaf03d2e


TS-1424: Change EREMOTEIO to ECONNABORTED


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

Branch: refs/heads/master
Commit: ceaf03d2ecc28a437b5281a1c21d9b2f311b66af
Parents: 68d5b16
Author: Alan M. Carroll <amc@network-geographics.com>
Authored: Mon Aug 26 15:14:20 2013 -0700
Committer: Alan M. Carroll <amc@network-geographics.com>
Committed: Mon Aug 26 15:14:20 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ceaf03d2/proxy/http/HttpSM.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc
index ab120db..ce4f8b2 100644
--- a/proxy/http/HttpSM.cc
+++ b/proxy/http/HttpSM.cc
@@ -1713,7 +1713,7 @@ HttpSM::state_http_server_open(int event, void *data)
   case NET_EVENT_OPEN_FAILED:
     t_state.current.state = HttpTransact::CONNECTION_ERROR;
     // save the errno from the connect fail for future use (passed as negative value, flip
back)
-    t_state.current.server->set_connect_fail(event == NET_EVENT_OPEN_FAILED ? -reinterpret_cast<intptr_t>(data)
: EREMOTEIO);
+    t_state.current.server->set_connect_fail(event == NET_EVENT_OPEN_FAILED ? -reinterpret_cast<intptr_t>(data)
: ECONNABORTED);
 
     /* If we get this error, then we simply can't bind to the 4-tuple to make the connection.
 There's no hope of
        retries succeeding in the near future. The best option is to just shut down the connection
without further


Mime
View raw message