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

Method enableProtocol

src/iocore/net/ALPNSupport.cc:137–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137void
138ALPNSupport::enableProtocol(int idx)
139{
140 this->protoenabled.markIn(idx);
141 // Update the npn string
142 if (npnSet) {
143 npnSet->create_npn_advertisement(protoenabled, &npn, &npnsz);
144 }
145}
146
147void
148ALPNSupport::registerNextProtocolSet(SSLNextProtocolSet *s, const SessionProtocolSet &protos)

Callers 2

SNIActionMethod · 0.80
TSVConnProtocolEnableFunction · 0.80

Calls 2

markInMethod · 0.45

Tested by

no test coverage detected