MCPcopy Create free account
hub / github.com/apache/trafficserver / TSHttpTxnStatusSet

Function TSHttpTxnStatusSet

src/api/InkAPI.cc:5162–5169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5160}
5161
5162void
5163TSHttpTxnStatusSet(TSHttpTxn txnp, TSHttpStatus status)
5164{
5165 sdk_assert(sdk_sanity_check_txn(txnp) == TS_SUCCESS);
5166
5167 HttpSM *sm = reinterpret_cast<HttpSM *>(txnp);
5168 sm->t_state.http_return_code = static_cast<HTTPStatus>(status);
5169}
5170
5171TSHttpStatus
5172TSHttpTxnStatusGet(TSHttpTxn txnp)

Callers 15

TSRemapDoRemapFunction · 0.85
TSRemapDoRemapFunction · 0.85
Headers.ccFile · 0.85
ExecuteMethod · 0.85
setStatusCodeMethod · 0.85
TSRemapDoRemapFunction · 0.85
local_handlerFunction · 0.85
_txn_cont_funcMethod · 0.85
TSRemapDoRemapFunction · 0.85
event_handlerFunction · 0.85
TSRemapDoRemapFunction · 0.85
stats_originFunction · 0.85

Calls 1

sdk_sanity_check_txnFunction · 0.85

Tested by

no test coverage detected