| 48 | TSCont global_read_resp_hdr_contp; |
| 49 | |
| 50 | static bool |
| 51 | should_skip_this_obj(TSHttpTxn txnp, Config *const config) |
| 52 | { |
| 53 | int len = 0; |
| 54 | char *const urlstr = TSHttpTxnEffectiveUrlStringGet(txnp, &len); |
| 55 | |
| 56 | if (!config->isKnownLargeObj({urlstr, static_cast<size_t>(len)})) { |
| 57 | DEBUG_LOG("Not a known large object, not slicing: %.*s", len, urlstr); |
| 58 | return true; |
| 59 | } |
| 60 | |
| 61 | return false; |
| 62 | } |
| 63 | |
| 64 | bool |
| 65 | read_request(TSHttpTxn txnp, Config *const config, TSCont read_resp_hdr_contp) |
no test coverage detected