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

Function setTLSSessionID

tlsutil/session.go:49–51  ·  view source on GitHub ↗
(conn ConnTagger, sessionID TLSSessionID)

Source from the content-addressed store, hash-verified

47}
48
49func setTLSSessionID(conn ConnTagger, sessionID TLSSessionID) {
50 conn.SetTag(tlsSessionIDKey{}, sessionID)
51}
52
53func GetTLSSessionID(conn net.Conn) (TLSSessionID, bool) {
54 tagger, ok := conn.(ConnTagger)

Callers 1

EnableTLSCookiesFunction · 0.85

Calls 1

SetTagMethod · 0.65

Tested by

no test coverage detected