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 2016/01/13 02:16:41 UTC
[1/2] trafficserver git commit: TS-4120:
proxy.config.http.response_server_str default value includes version
Repository: trafficserver
Updated Branches:
refs/heads/master 48c23ec74 -> 1d860f66f
TS-4120: proxy.config.http.response_server_str default value includes version
This closes #412.
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/9b15e3d8
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/9b15e3d8
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/9b15e3d8
Branch: refs/heads/master
Commit: 9b15e3d8aae3b890928765c23247bcd96d4332c2
Parents: 48c23ec
Author: Hiroaki Nakamura <hn...@gmail.com>
Authored: Mon Jan 11 12:56:25 2016 +0900
Committer: James Peach <jp...@apache.org>
Committed: Tue Jan 12 17:15:59 2016 -0800
----------------------------------------------------------------------
doc/admin-guide/files/records.config.en.rst | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/9b15e3d8/doc/admin-guide/files/records.config.en.rst
----------------------------------------------------------------------
diff --git a/doc/admin-guide/files/records.config.en.rst b/doc/admin-guide/files/records.config.en.rst
index 3109b3d..8d980b5 100644
--- a/doc/admin-guide/files/records.config.en.rst
+++ b/doc/admin-guide/files/records.config.en.rst
@@ -732,12 +732,11 @@ Value Effect
- ``0`` no ``Age`` header is added
- ``1`` the ``Age`` header is added
-.. ts:cv:: CONFIG proxy.config.http.response_server_str STRING ATS/
+.. ts:cv:: CONFIG proxy.config.http.response_server_str STRING ATS/${PACKAGE_VERSION}
:reloadable:
:overridable:
- The Server: string that ATS will insert in a response header (if requested, see above). Note that the current version number is
- always appended to this string.
+ The Server: string that ATS will insert in a response header (if requested, see above). Note that the actual default value is defined with ``"ATS/" PACKAGE_VERSION`` in a C++ source code, and you must write such as ``ATS/6.0.0`` if you really set a value with the version in :file:`records.config` file. If you want to hide the version, you can set this value to ``ATS``.
.. ts:cv:: CONFIG proxy.config.http.enable_url_expandomatic INT 0
:reloadable:
[2/2] trafficserver git commit: TS-4121: document
proxy.config.http.request_via_str
Posted by jp...@apache.org.
TS-4121: document proxy.config.http.request_via_str
This closes #413.
Please enter the commit message for your changes. Lines starting
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/1d860f66
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/1d860f66
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/1d860f66
Branch: refs/heads/master
Commit: 1d860f66f565f19ec681057a6dbdabe45d32c42c
Parents: 9b15e3d
Author: Hiroaki Nakamura <hn...@gmail.com>
Authored: Mon Jan 11 16:11:14 2016 +0900
Committer: James Peach <jp...@apache.org>
Committed: Tue Jan 12 17:16:04 2016 -0800
----------------------------------------------------------------------
doc/admin-guide/files/records.config.en.rst | 6 ++++++
1 file changed, 6 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/1d860f66/doc/admin-guide/files/records.config.en.rst
----------------------------------------------------------------------
diff --git a/doc/admin-guide/files/records.config.en.rst b/doc/admin-guide/files/records.config.en.rst
index 8d980b5..6d73e7e 100644
--- a/doc/admin-guide/files/records.config.en.rst
+++ b/doc/admin-guide/files/records.config.en.rst
@@ -685,6 +685,12 @@ Value Effect
The ``Via`` header string can be decoded with the `Via Decoder Ring <http://trafficserver.apache.org/tools/via>`_.
+.. ts:cv:: CONFIG proxy.config.http.request_via_str STRING ApacheTrafficServer/${PACKAGE_VERSION}
+ :reloadable:
+ :overridable:
+
+ Set the server and version string in the ``Via`` request header to the origin server which is inserted when the value of :ts:cv:`proxy.config.http.insert_request_via_str` is not ``0``. Note that the actual default value is defined with ``"ApacheTrafficServer/" PACKAGE_VERSION`` in a C++ source code, and you must write such as ``ApacheTrafficServer/6.0.0`` if you really set a value with the version in :file:`records.config` file. If you want to hide the version, you can set this value to ``ApacheTrafficServer``.
+
.. ts:cv:: CONFIG proxy.config.http.insert_response_via_str INT 0
:reloadable:
:overridable: