Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 0 additions & 44 deletions doc/admin-guide/files/records.yaml.en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2684,50 +2684,6 @@ Customizable User Response Pages
``2`` Suppress response pages only for internal traffic.
===== ======================================================================

.. ts:cv:: CONFIG proxy.config.http_ui_enabled INT 0

Specifies which http Inspector UI endpoints to allow within :file:`remap.config`:

===== ======================================================================
Value Description
===== ======================================================================
``0`` Disable all http UI endpoints.
``1`` Enable only Cache Inspector endpoints.
``2`` Enable only stats endpoints.
``3`` Enable all http UI endpoints.
===== ======================================================================

To enable any endpoint there needs to be an entry in :file:`remap.config` which
specifically enables it. Such a line would look like: ::

map / http://{cache}

The following are the cache endpoints:

================ ===========================================================
Name Description
================ ===========================================================
``cache`` UI to interact with the cache.
================ ===========================================================

The following are the stats endpoints:

================== =========================================================
Name Description
================== =========================================================
``cache-internal`` Statistics about cache evacuation and volumes.
``hostdb`` Lookups against the hostdb.
``http`` HTTPSM details, this endpoint is also gated by
:ts:cv:`proxy.config.http.enable_http_info`.
``net`` Lookup and listing of open connections.
================== =========================================================

.. ts:cv:: CONFIG proxy.config.http.enable_http_info INT 0

Enables (``1``) or disables (``0``) access to an endpoint within
:ts:cv:`proxy.config.http_ui_enabled` which shows details about inflight
transactions (HttpSM).

DNS
===

Expand Down
31 changes: 0 additions & 31 deletions doc/admin-guide/storage/index.en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -341,37 +341,6 @@ Then, to push the object, post the object using the PUSH method: ::

.. _inspecting-the-cache:

Inspecting the Cache
====================

Traffic Server provides a Cache Inspector utility that enables you to
view, delete, and invalidate URLs in the cache (HTTP only). The Cache
Inspector utility is a powerful tool that's capable of deleting all
the objects in your cache. Therefore, make sure that only authorized
administrators are allowed to access this utility through proper use
of the ``@src_ip`` option in :file:`remap.config` and the instructions
detailed in :ref:`admin-controlling-access`.

Accessing the Cache Inspector Utility
-------------------------------------

To access the Cache Inspector utility:

#. Set :ts:cv:`proxy.config.http_ui_enabled` to ``1``.
#. To access the cache inspector in reverse proxy mode, you must add a
remap rule to :file:`remap.config` to expose the URL. This should be
restricted to a limited set of hosts using the ``@src_ip`` option.
To restrict access to the network 172.28.56.0/24, use ::

map http://yourhost.com/myCI/ http://{cache} @action=allow @src_ip=172.28.56.1-172.28.56.254

#. Reload the Traffic Server configuration by running :option:`traffic_ctl config reload`.
#. Open your web browser and go to the following URL::

http://yourhost/myCI/

You will now be presented with the Cache Inspector interface.

Using the Cache Inspector Utility
---------------------------------

Expand Down
13 changes: 0 additions & 13 deletions doc/locale/ja/LC_MESSAGES/admin-guide/files/records.config.en.po
Original file line number Diff line number Diff line change
Expand Up @@ -3457,12 +3457,6 @@ msgstr ""
msgid "``http``"
msgstr ""

#: ../../../admin-guide/files/records.yaml.en.rst:2228
msgid ""
"HTTPSM details, this endpoint is also gated by :ts:cv:`proxy.config.http."
"enable_http_info`."
msgstr ""

#: ../../../admin-guide/files/records.yaml.en.rst:2230
msgid "``net``"
msgstr ""
Expand All @@ -3471,13 +3465,6 @@ msgstr ""
msgid "Lookup and listing of open connections."
msgstr ""

#: ../../../admin-guide/files/records.yaml.en.rst:2235
msgid ""
"Enables (``1``) or disables (``0``) access to an endpoint within :ts:cv:"
"`proxy.config.http_ui_enabled` which shows details about inflight "
"transactions (HttpSM)."
msgstr ""

#: ../../../admin-guide/files/records.yaml.en.rst:2240
msgid "DNS"
msgstr ""
Expand Down
4 changes: 0 additions & 4 deletions doc/locale/ja/LC_MESSAGES/admin-guide/storage/index.en.po
Original file line number Diff line number Diff line change
Expand Up @@ -730,10 +730,6 @@ msgstr "キャッシュ検査ユーティリティにアクセスする"
msgid "To access the Cache Inspector utility:"
msgstr "キャッシュ検査ユーティリティにアクセスするには :"

#: ../../../admin-guide/storage/index.en.rst:375
msgid "Set :ts:cv:`proxy.config.http_ui_enabled` to ``1``."
msgstr ":ts:cv:`proxy.config.http_ui_enabled` を ``1`` に設定。"

#: ../../../admin-guide/storage/index.en.rst:376
msgid ""
"To access the cache inspector in reverse proxy mode, you must add a remap "
Expand Down
5 changes: 1 addition & 4 deletions include/iocore/cache/CacheEvacuateDocVC.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,7 @@ new_CacheEvacuateDocVC(Continuation *cont)
ink_assert(c->trigger == nullptr);
static DbgCtl dbg_ctl{"cache_new"};
Dbg(dbg_ctl, "new %p", c);
#ifdef CACHE_STAT_PAGES
ink_assert(!c->stat_link.next);
ink_assert(!c->stat_link.prev);
#endif
dir_clear(&c->dir);

return c;
}
3 changes: 0 additions & 3 deletions include/iocore/cache/CacheVC.h
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,6 @@ struct CacheVC : public CacheVConnection {
AIOCallbackInternal io;
int alternate_index = CACHE_ALT_INDEX_DEFAULT; // preferred position in vector
LINK(CacheVC, opendir_link);
#ifdef CACHE_STAT_PAGES
LINK(CacheVC, stat_link);
#endif
// end Region B

// Start Region C
Expand Down
1 change: 0 additions & 1 deletion include/iocore/hostdb/HostDBProcessor.h
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,6 @@ HostDBInfo::invalidate()
class HostDBRecord : public RefCountObj
{
friend struct HostDBContinuation;
friend struct ShowHostDB;
using self_type = HostDBRecord;

/// Size of the IO buffer block owned by @a this.
Expand Down
164 changes: 0 additions & 164 deletions include/proxy/Show.h

This file was deleted.

Loading