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

Method sni

plugins/experimental/txn_box/plugin/src/ts_util.cc:755–764  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

753}
754
755TextView
756ts::HttpSsn::sni() const
757{
758 if (_ssn) {
759 if (auto ssl_ctx = this->ssl_context(); ssl_ctx.is_valid()) {
760 return ssl_ctx.sni();
761 }
762 }
763 return {};
764}
765
766TextView
767ts::HttpSsn::protocol_contains(swoc::TextView tag) const

Callers 1

extractMethod · 0.80

Calls 2

ssl_contextMethod · 0.95
is_validMethod · 0.45

Tested by

no test coverage detected