You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by su...@apache.org on 2015/04/21 20:25:21 UTC
[1/2] trafficserver git commit: [TS-3523]: Proxy urls with no
matching remap rules, when remap_required is disabled,
regardless of reverse_proxy_enabled setting
Repository: trafficserver
Updated Branches:
refs/heads/master 45d3ce1ba -> 2dac573db
[TS-3523]: Proxy urls with no matching remap rules, when remap_required
is disabled, regardless of reverse_proxy_enabled setting
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/705e0e6b
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/705e0e6b
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/705e0e6b
Branch: refs/heads/master
Commit: 705e0e6b59cd73457f6c7277bdf4002ae97cd135
Parents: 45d3ce1
Author: Sudheer Vinukonda <su...@yahoo-inc.com>
Authored: Tue Apr 21 18:23:12 2015 +0000
Committer: Sudheer Vinukonda <su...@yahoo-inc.com>
Committed: Tue Apr 21 18:23:12 2015 +0000
----------------------------------------------------------------------
proxy/http/HttpTransact.cc | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/705e0e6b/proxy/http/HttpTransact.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpTransact.cc b/proxy/http/HttpTransact.cc
index 66b32b6..0c26363 100644
--- a/proxy/http/HttpTransact.cc
+++ b/proxy/http/HttpTransact.cc
@@ -819,6 +819,10 @@ HttpTransact::EndRemapRequest(State *s)
TRANSACT_RETURN(SM_ACTION_INTERNAL_CACHE_NOOP, NULL);
}
+ if (!s->http_config_param->url_remap_required && !incoming_request->is_target_in_url()) {
+ s->hdr_info.client_request.set_url_target_from_host_field();
+ }
+
/////////////////////////////////////////////////////////
// check for: (1) reverse proxy is on, and no URL host //
/////////////////////////////////////////////////////////
[2/2] trafficserver git commit: update CHANGES
Posted by su...@apache.org.
update CHANGES
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/2dac573d
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/2dac573d
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/2dac573d
Branch: refs/heads/master
Commit: 2dac573db0bfc5c737b9ee5c4d8767771e411e61
Parents: 705e0e6
Author: Sudheer Vinukonda <su...@yahoo-inc.com>
Authored: Tue Apr 21 18:25:10 2015 +0000
Committer: Sudheer Vinukonda <su...@yahoo-inc.com>
Committed: Tue Apr 21 18:25:10 2015 +0000
----------------------------------------------------------------------
CHANGES | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/2dac573d/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index eb0baba..c8d3e2a 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
-*- coding: utf-8 -*-
Changes with Apache Traffic Server 6.0.0
+ *) [TS-3523]: Proxy urls with no matching remap rules, when remap_required
+ is disabled, regardless of reverse_proxy_enabled setting
+
*) [TS-3522] Segfault due to inactivity_cop.
*) [TS-3530] HTTP/2 memory leak with headers and more...