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

Method attach_hostname

include/proxy/PoolableSession.h:231–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229}
230
231inline void
232PoolableSession::attach_hostname(const char *hostname)
233{
234 if (hostname_hash.is_zero()) {
235 CryptoContext().hash_immediate(hostname_hash, static_cast<const unsigned char *>(static_cast<const void *>(hostname)),
236 strlen(hostname));
237 }
238}
239
240inline bool
241PoolableSession::is_multiplexing() const

Callers 1

create_server_sessionMethod · 0.80

Calls 3

CryptoContextClass · 0.85
is_zeroMethod · 0.80
hash_immediateMethod · 0.45

Tested by

no test coverage detected