FILE / ScuroNeko/mtg

mtglib/internal/tls/fake/init.go

Исходный файл и его история в репозитории.
FILE efc65f317e726c5a585a04f76eac1b8e0d7f0b9c
Files
mtg/mtglib/internal/tls/fake/init.go
T
9seconds eb564936c7 Add separate handshake timeout
This PR adds a new setting to the config: `network.timeout`. This setting
defines a time period during which all handshake procedures and
ceremonies must be completed. If not - connection is aborted. This
should help in situations when connection is established but client
cannot continue for some reason (for example, RST sent by some middle box).
2026-04-07 08:01:51 +02:00

8 lines
93 B
Go

package fake
import (
"errors"
)
var ErrBadDigest = errors.New("incorrect client random")