////////////////////////////////////////////////////////////////////// Check if a header excludes us from running the background fetch
| 134 | // Check if a header excludes us from running the background fetch |
| 135 | // |
| 136 | bool |
| 137 | BgFetchRule::check_field_configured(TSHttpTxn txnp) const |
| 138 | { |
| 139 | return std::visit(swoc::meta::vary{[=](std::monostate) { return false; }, |
| 140 | [=](swoc::IPRange const &range) { return check_value(txnp, range); }, |
| 141 | [=](size_cmp_type const &cmp) { return check_value(txnp, cmp); }, |
| 142 | [=](field_cmp_type const &cmp) { return check_value(txnp, cmp); }}, |
| 143 | _value); |
| 144 | } |
no test coverage detected