MCPcopy Create free account
hub / github.com/SenseUnit/dumbproxy / wrapCacheWithKeyRewrite

Function wrapCacheWithKeyRewrite

tlsutil/util.go:186–192  ·  view source on GitHub ↗
(from, to string, cache tls.ClientSessionCache)

Source from the content-addressed store, hash-verified

184}
185
186func wrapCacheWithKeyRewrite(from, to string, cache tls.ClientSessionCache) tls.ClientSessionCache {
187 return clientSessionCacheKeyRewrite{
188 from: from,
189 to: to,
190 cache: cache,
191 }
192}
193
194func TLSConfigFromURL(u *url.URL) (*tls.Config, error) {
195 host := u.Hostname()

Callers 1

TLSConfigFromURLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected