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

Function TSHttpTxnServerRespNoStoreSet

src/api/InkAPI.cc:4436–4445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4434}
4435
4436TSReturnCode
4437TSHttpTxnServerRespNoStoreSet(TSHttpTxn txnp, int flag)
4438{
4439 sdk_assert(sdk_sanity_check_txn(txnp) == TS_SUCCESS);
4440
4441 HttpTransact::State *s = &((reinterpret_cast<HttpSM *>(txnp))->t_state);
4442 s->api_server_response_no_store = (flag != 0);
4443
4444 return TS_SUCCESS;
4445}
4446
4447bool
4448TSHttpTxnServerRespNoStoreGet(TSHttpTxn txnp)

Callers 2

read_resp_hdrFunction · 0.85
transaction_handlerFunction · 0.85

Calls 1

sdk_sanity_check_txnFunction · 0.85

Tested by

no test coverage detected