---------------------------------------------------------------------------- handler for http txn events
| 477 | //---------------------------------------------------------------------------- |
| 478 | // handler for http txn events |
| 479 | static int |
| 480 | cache_print_plugin(TSCont contp, TSEvent event, void *edata) |
| 481 | { |
| 482 | switch (event) { |
| 483 | case TS_EVENT_HTTP_READ_REQUEST_HDR: |
| 484 | return setup_request(contp, static_cast<TSHttpTxn>(edata)); |
| 485 | default: |
| 486 | break; |
| 487 | } |
| 488 | TSHttpTxnReenable(static_cast<TSHttpTxn>(edata), TS_EVENT_HTTP_CONTINUE); |
| 489 | return TS_SUCCESS; |
| 490 | } |
| 491 | |
| 492 | //---------------------------------------------------------------------------- |
| 493 | void |
nothing calls this directly
no test coverage detected