MCPcopy Index your code
hub / github.com/XTLS/REALITY / serverResumedSession

Method serverResumedSession

handshake_client.go:875–880  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

873}
874
875func (hs *clientHandshakeState) serverResumedSession() bool {
876 // If the server responded with the same sessionId then it means the
877 // sessionTicket is being used to resume a TLS session.
878 return hs.session != nil && hs.hello.sessionId != nil &&
879 bytes.Equal(hs.serverHello.sessionId, hs.hello.sessionId)
880}
881
882func (hs *clientHandshakeState) processServerHello() (bool, error) {
883 c := hs.c

Callers 1

processServerHelloMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected