MCPcopy Create free account
hub / github.com/XTLS/REALITY / ECHRejectionError

Struct ECHRejectionError

ech.go:507–509  ·  view source on GitHub ↗

ECHRejectionError is the error type returned when ECH is rejected by a remote server. If the server offered a ECHConfigList to use for retries, the RetryConfigList field will contain this list. The client may treat an ECHRejectionError with an empty set of RetryConfigs as a secure signal from the s

Source from the content-addressed store, hash-verified

505// The client may treat an ECHRejectionError with an empty set of RetryConfigs
506// as a secure signal from the server.
507type ECHRejectionError struct {
508 RetryConfigList []byte
509}
510
511func (e *ECHRejectionError) Error() string {
512 return "tls: server rejected ECH"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected