| 8859 | } |
| 8860 | |
| 8861 | void |
| 8862 | TSHostStatusSet(const char *hostname, const size_t hostname_len, TSHostStatus status, const unsigned int down_time, |
| 8863 | const unsigned int reason) |
| 8864 | { |
| 8865 | HostStatus::instance().setHostStatus(std::string_view(hostname, hostname_len), status, down_time, reason); |
| 8866 | } |
| 8867 | |
| 8868 | // TSHttpTxnResponseActionSet takes a ResponseAction and sets it as the behavior for finding the next parent. |
| 8869 | // Be aware ATS will never change this outside a plugin. Therefore, plugins which set the ResponseAction |
nothing calls this directly
no test coverage detected