mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 11:54:01 +03:00
FILE / ScuroNeko/mtg
mtglib/internal/tls/fake/init.go
Исходный файл и его история в репозитории.
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).
8 lines
93 B
Go
8 lines
93 B
Go
package fake
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
var ErrBadDigest = errors.New("incorrect client random")
|