| 325 | } |
| 326 | |
| 327 | TSRemapStatus |
| 328 | TSRemapDoRemap(void *instance, TSHttpTxn txnp, TSRemapRequestInfo *rri) |
| 329 | { |
| 330 | TSReleaseAssert(txnp && rri); |
| 331 | auto inum = reinterpret_cast<std::uintptr_t>(instance) - 1; |
| 332 | TSReleaseAssert(inum < remap_mask.size()); |
| 333 | |
| 334 | logFile << "TSRemapDoRemap(): instance=" << inum << " redirect=" << rri->redirect << std::endl; |
| 335 | |
| 336 | testsForReqHdr("Remap Request", rri->requestBufp, rri->requestHdrp); |
| 337 | |
| 338 | return TSREMAP_NO_REMAP; |
| 339 | } |
| 340 | |
| 341 | namespace |
| 342 | { |
nothing calls this directly
no test coverage detected