MCPcopy
hub / github.com/XTLS/REALITY / setErrorLocked

Method setErrorLocked

conn.go:203–210  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

201func (e *permanentError) Temporary() bool { return false }
202
203func (hc *halfConn) setErrorLocked(err error) error {
204 if e, ok := err.(net.Error); ok {
205 hc.err = &permanentError{err: e}
206 } else {
207 hc.err = err
208 }
209 return hc.err
210}
211
212// prepareCipherSpec sets the encryption and MAC states
213// that a subsequent changeCipherSpec will use.

Callers 9

readRecordOrCCSMethod · 0.80
retryReadRecordMethod · 0.80
sendAlertLockedMethod · 0.80
readHandshakeMethod · 0.80
WriteMethod · 0.80
handleKeyUpdateMethod · 0.80
HandleDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected