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

Method set_server_session_private

src/proxy/http/HttpSM.cc:8638–8646  ·  view source on GitHub ↗

* Used from an InkAPI */

Source from the content-addressed store, hash-verified

8636 * Used from an InkAPI
8637 */
8638bool
8639HttpSM::set_server_session_private(bool private_session)
8640{
8641 if (server_txn != nullptr) {
8642 static_cast<PoolableSession *>(server_txn->get_proxy_ssn())->set_private(private_session);
8643 return true;
8644 }
8645 return false;
8646}
8647
8648bool
8649HttpSM::is_private() const

Callers 2

attach_server_sessionMethod · 0.95

Calls 2

set_privateMethod · 0.80
get_proxy_ssnMethod · 0.80

Tested by

no test coverage detected