Repository: trafficserver Updated Branches: refs/heads/master 4eb2563cc -> a7d3f164d
Add missing status codes to the Via header decoder docs. These additional status codes include all the codes currently described in cmd/traffic_via/traffic_via.cc. This closes #299. Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/a7d3f164 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/a7d3f164 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/a7d3f164 Branch: refs/heads/master Commit: a7d3f164db54a5dffa982d6bc54d1108a453159d Parents: 4eb2563 Author: Nick Muerdter <[email protected]> Authored: Sat Oct 3 14:22:59 2015 -0600 Committer: James Peach <[email protected]> Committed: Sat Oct 3 20:36:56 2015 -0700 ---------------------------------------------------------------------- cmd/traffic_via/traffic_via.cc | 2 +- doc/admin/faqs.en.rst | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a7d3f164/cmd/traffic_via/traffic_via.cc ---------------------------------------------------------------------- diff --git a/cmd/traffic_via/traffic_via.cc b/cmd/traffic_via/traffic_via.cc index 3c28f00..ae17170 100644 --- a/cmd/traffic_via/traffic_via.cc +++ b/cmd/traffic_via/traffic_via.cc @@ -142,7 +142,7 @@ standardViaLookup(char flag) viaTable->viaData[(unsigned char)'A'] = "in cache, not acceptable (a cache \"MISS\")"; viaTable->viaData[(unsigned char)'H'] = "in cache, fresh (a cache \"HIT\")"; viaTable->viaData[(unsigned char)'S'] = "in cache, stale (a cache \"MISS\")"; - viaTable->viaData[(unsigned char)'R'] = "in cache, fresh Ram hit (a cache \"HIT\")"; + viaTable->viaData[(unsigned char)'R'] = "in cache, fresh RAM hit (a cache \"HIT\")"; viaTable->viaData[(unsigned char)'M'] = "miss (a cache \"MISS\")"; viaTable->viaData[(unsigned char)' '] = "no cache lookup"; break; http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a7d3f164/doc/admin/faqs.en.rst ---------------------------------------------------------------------- diff --git a/doc/admin/faqs.en.rst b/doc/admin/faqs.en.rst index 3dc6bc2..15d775a 100644 --- a/doc/admin/faqs.en.rst +++ b/doc/admin/faqs.en.rst @@ -172,6 +172,7 @@ Value Meaning A in cache, not acceptable (a cache "MISS") H in cache, fresh (a cache "HIT") M miss (a cache "MISS") +R in cache, fresh RAM hit (a cache "HIT") S in cache, stale (a cache "MISS") blank no cache lookup performed ===== ========================== @@ -228,6 +229,7 @@ D dns failure F request forbidden H header syntax unacceptable N no error +R cache read error S server related error T connection timed out ===== ========================== @@ -241,8 +243,10 @@ Proxy-only service operation. Value is one of: ===== ========================== Value Meaning ===== ========================== +A tunnel authorization F tunneling due to a header field (such as presence of If-Range header) M tunneling due to a method (e.g. CONNECT) +N tunneling due to no forward O tunneling because cache is turned off U tunneling because of url (url suggests dynamic content) blank no tunneling @@ -259,6 +263,9 @@ Value Meaning ===== ========================== C cache I icp +L cluster, (not used) +P parent +S server blank cache miss or no cache lookup ===== ========================== @@ -271,6 +278,7 @@ C cache hit, but config forces revalidate D cache hit, but method forces revalidated (e.g. ftp, not anonymous) H cache hit I conditional miss (client sent conditional, fresh in cache, returned 412) +K cookie miss M cache miss (url not in cache) N conditional hit (client sent conditional, doc fresh in cache, returned 304) S cache hit, but expired
