You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2014/03/18 21:37:47 UTC

git commit: Use URL_REMAP_FOR_OS in preference to 2

Repository: trafficserver
Updated Branches:
  refs/heads/master fc974bf7c -> ee82dd80a


Use URL_REMAP_FOR_OS in preference to 2


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

Branch: refs/heads/master
Commit: ee82dd80a7599f9864296a49e0a6cae8e6c430e3
Parents: fc974bf
Author: James Peach <jp...@apache.org>
Authored: Tue Mar 18 13:00:39 2014 -0700
Committer: James Peach <jp...@apache.org>
Committed: Tue Mar 18 13:00:39 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ee82dd80/proxy/http/HttpSM.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc
index db7a1e0..02ea660 100644
--- a/proxy/http/HttpSM.cc
+++ b/proxy/http/HttpSM.cc
@@ -6866,7 +6866,7 @@ HttpSM::set_next_state()
         t_state.dns_info.lookup_success = true;
         call_transact_and_set_next_state(NULL);
         break;
-      } else if (url_remap_mode == 2 && t_state.first_dns_lookup) {
+      } else if (url_remap_mode == HttpTransact::URL_REMAP_FOR_OS && t_state.first_dns_lookup) {
         DebugSM("cdn", "Skipping DNS Lookup");
         // skip the DNS lookup
         t_state.first_dns_lookup = false;