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

Function ssl_register_protocol

src/proxy/http/HttpProxyServerMain.cc:75–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}();
74
75bool
76ssl_register_protocol(const char *protocol, Continuation *contp)
77{
78 SCOPED_MUTEX_LOCK(lock, ssl_plugin_mutex, this_ethread());
79
80 for (SSLNextProtocolAccept *ssl = ssl_plugin_acceptors.head; ssl; ssl = ssl_plugin_acceptors.next(ssl)) {
81 if (!ssl->registerEndpoint(protocol, contp)) {
82 return false;
83 }
84 }
85
86 return true;
87}
88
89/////////////////////////////////////////////////////////////////
90//

Callers 1

TSNetAcceptNamedProtocolFunction · 0.85

Calls 3

this_ethreadFunction · 0.85
nextMethod · 0.45
registerEndpointMethod · 0.45

Tested by

no test coverage detected