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

Method Get

tlsutil/util.go:172–177  ·  view source on GitHub ↗
(sessionKey string)

Source from the content-addressed store, hash-verified

170}
171
172func (r clientSessionCacheKeyRewrite) Get(sessionKey string) (session *tls.ClientSessionState, ok bool) {
173 if sessionKey == r.from {
174 sessionKey = r.to
175 }
176 return r.cache.Get(sessionKey)
177}
178
179func (r clientSessionCacheKeyRewrite) Put(sessionKey string, cs *tls.ClientSessionState) {
180 if sessionKey == r.from {

Callers 2

TLSConfigFromURLFunction · 0.45
TLSFactoryFromURLFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected