trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject svn commit: r990211 - /trafficserver/traffic/trunk/proxy/http2/HttpSM.cc
Date Fri, 27 Aug 2010 17:14:39 GMT
Author: zwoop
Date: Fri Aug 27 17:14:39 2010
New Revision: 990211

URL: http://svn.apache.org/viewvc?rev=990211&view=rev
Log:
TS-414 undo this commit, since Wendy is working on an improved version

Modified:
    trafficserver/traffic/trunk/proxy/http2/HttpSM.cc

Modified: trafficserver/traffic/trunk/proxy/http2/HttpSM.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/proxy/http2/HttpSM.cc?rev=990211&r1=990210&r2=990211&view=diff
==============================================================================
--- trafficserver/traffic/trunk/proxy/http2/HttpSM.cc (original)
+++ trafficserver/traffic/trunk/proxy/http2/HttpSM.cc Fri Aug 27 17:14:39 2010
@@ -843,6 +843,11 @@ HttpSM::state_read_client_request_header
     if (HttpConfig::m_master.number_of_redirections)
       enable_redirection = HttpConfig::m_master.redirection_enabled;
 
+    // Preserve pristine url before remap
+    t_state.pristine_url.create(t_state.hdr_info.client_request.url_get()->m_heap);
+    t_state.pristine_url.copy(t_state.hdr_info.client_request.url_get());
+
+
     call_transact_and_set_next_state(HttpTransact::ModifyRequest);
 
     break;
@@ -3833,10 +3838,6 @@ HttpSM::do_remap_request(bool run_inline
     return;
   }
 
-  // Preserve pristine url before remap
-  t_state.pristine_url.create(t_state.hdr_info.client_request.url_get()->m_heap);
-  t_state.pristine_url.copy(t_state.hdr_info.client_request.url_get());
-
   Debug("url_rewrite", "Found a remap map entry for [%lld], attempting to remap request and
call any plugins", sm_id);
   Action *remap_action_handle = remapProcessor.perform_remap(this, &t_state);
 



Mime
View raw message