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

Function TSHttpTxnPrivateSessionSet

src/api/InkAPI.cc:7717–7728  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7715}
7716
7717TSReturnCode
7718TSHttpTxnPrivateSessionSet(TSHttpTxn txnp, int private_session)
7719{
7720 if (sdk_sanity_check_txn(txnp) != TS_SUCCESS) {
7721 return TS_ERROR;
7722 }
7723 HttpSM *sm = reinterpret_cast<HttpSM *>(txnp);
7724 if (sm->set_server_session_private(private_session)) {
7725 return TS_SUCCESS;
7726 }
7727 return TS_ERROR;
7728}
7729
7730// APIs to register new Mgmt (records) entries.
7731TSReturnCode

Callers

nothing calls this directly

Calls 2

sdk_sanity_check_txnFunction · 0.85

Tested by

no test coverage detected