(sessionKey string)
| 170 | } |
| 171 | |
| 172 | func (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 | |
| 179 | func (r clientSessionCacheKeyRewrite) Put(sessionKey string, cs *tls.ClientSessionState) { |
| 180 | if sessionKey == r.from { |
no outgoing calls
no test coverage detected