Updated Branches:
  refs/heads/master 46adeb3d0 -> 9f05ebe81

TS-2327: TSRedirectUrlSet does not perform DNS lookup of redirected OS


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

Branch: refs/heads/master
Commit: 9f05ebe81f5ceca844ae34bb51691afa198a39db
Parents: 46adeb3
Author: Ron Barber <[email protected]>
Authored: Wed Nov 20 19:00:53 2013 -0800
Committer: Bryan Call <[email protected]>
Committed: Wed Nov 20 19:00:53 2013 -0800

----------------------------------------------------------------------
 CHANGES              | 2 ++
 proxy/http/HttpSM.cc | 2 ++
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/9f05ebe8/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index fdac461..24a9ac5 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,8 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache Traffic Server 4.2.0
 
+  *) [TS-2327] TSRedirectUrlSet does not perform DNS lookup of redirected OS
+
   *) [TS-1468] Check vary and accept headers on non-200 responses in cache
 
   *) [TS-2352] refine THREAD_ALLOC feature.

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/9f05ebe8/proxy/http/HttpSM.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc
index e5751a0..a957bcb 100644
--- a/proxy/http/HttpSM.cc
+++ b/proxy/http/HttpSM.cc
@@ -7384,6 +7384,8 @@ HttpSM::redirect_request(const char *redirect_url, const 
int redirect_len)
   t_state.response_received_time = 0;
   t_state.cache_info.write_lock_state = HttpTransact::CACHE_WL_INIT;
   t_state.next_action = HttpTransact::REDIRECT_READ;
+  // we have a new OS and need to have DNS lookup the new OS
+  t_state.dns_info.lookup_success = false;
 
   // check to see if the client request passed a host header, if so copy the 
host and port from the redirect url and
   // make a new host header

Reply via email to