trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shinr...@apache.org
Subject [2/2] trafficserver git commit: TS-4243: Add a check for the 500 created from aborting in the DNS lookup. Try that again.
Date Tue, 01 Mar 2016 23:26:52 GMT
TS-4243: Add a check for the 500 created from aborting in the DNS lookup.  Try that again.


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

Branch: refs/heads/ts-4243
Commit: 3bed6ec1ccc710bd174b2f9b386407616531da23
Parents: 5adbb83
Author: shinrich <shinrich@yahoo-inc.com>
Authored: Tue Mar 1 17:26:15 2016 -0600
Committer: shinrich <shinrich@yahoo-inc.com>
Committed: Tue Mar 1 17:26:15 2016 -0600

----------------------------------------------------------------------
 plugins/experimental/collapsed_forwarding/collapsed_forwarding.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/3bed6ec1/plugins/experimental/collapsed_forwarding/collapsed_forwarding.cc
----------------------------------------------------------------------
diff --git a/plugins/experimental/collapsed_forwarding/collapsed_forwarding.cc b/plugins/experimental/collapsed_forwarding/collapsed_forwarding.cc
index bfc626a..2eed7b5 100644
--- a/plugins/experimental/collapsed_forwarding/collapsed_forwarding.cc
+++ b/plugins/experimental/collapsed_forwarding/collapsed_forwarding.cc
@@ -195,7 +195,7 @@ on_send_response_header(RequestData *req, TSHttpTxn &txnp, TSCont
&contp)
   TSHttpStatus status = TSHttpHdrStatusGet(bufp, hdr_loc);
   TSDebug(DEBUG_TAG, "Response code: %d", status);
 
-  if ((status == TS_HTTP_STATUS_BAD_GATEWAY) || (status == TS_HTTP_STATUS_SEE_OTHER)) {
+  if ((status == TS_HTTP_STATUS_BAD_GATEWAY) || (status == TS_HTTP_STATUS_SEE_OTHER) || status
== TS_HTTP_STATUS_INTERNAL_SERVER_ERROR) {
     bool is_internal_message_hdr = check_internal_message_hdr(txnp);
     bool delay_request =
       is_internal_message_hdr || ((req->wl_retry > 0) && (req->wl_retry
< OPEN_WRITE_FAIL_MAX_REQ_DELAY_RETRIES));


Mime
View raw message