| 23 | { |
| 24 | |
| 25 | void |
| 26 | Error::Execute(cripts::Context *context) |
| 27 | { |
| 28 | if (Failed()) { |
| 29 | TSHttpTxnStatusSet(context->state.txnp, _status._getter()); |
| 30 | // ToDo: So we can't set the reason phrase here, because ATS doesn't have that |
| 31 | // as a transaction API, only on the response header... |
| 32 | } |
| 33 | |
| 34 | if (Redirected()) { |
| 35 | context->rri->redirect = 1; |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | // These are static, to be used with the set() wrapper define |
| 40 | void |
no test coverage detected