This func is called by us from mytest_handler to test TSHttpTxnServerSsnTransactionCount
| 3439 | |
| 3440 | // This func is called by us from mytest_handler to test TSHttpTxnServerSsnTransactionCount |
| 3441 | static int |
| 3442 | checkHttpTxnServerSsnTransactionCount(SocketTest *test, void *data) |
| 3443 | { |
| 3444 | TSHttpTxn txnp = static_cast<TSHttpTxn>(data); |
| 3445 | |
| 3446 | int count = TSHttpTxnServerSsnTransactionCount(txnp); |
| 3447 | if (count < 0) { |
| 3448 | SDK_RPRINT(test->regtest, "TSHttpTxnServerSsnTransactionCount", "TestCase1", TC_FAIL, "invalid count value '%d'", count); |
| 3449 | } else { |
| 3450 | SDK_RPRINT(test->regtest, "TSHttpTxnServerSsnTransactionCount", "TestCase1", TC_PASS, "ok - count='%d'", count); |
| 3451 | } |
| 3452 | |
| 3453 | return count; |
| 3454 | } |
| 3455 | |
| 3456 | // This func is called both by us when scheduling EVENT_IMMEDIATE |
| 3457 | // And by HTTP SM for registered hooks |
no test coverage detected