MCPcopy Create free account
hub / github.com/pion/dtls / WithInsecureSkipVerifyHello

Function WithInsecureSkipVerifyHello

options.go:643–649  ·  view source on GitHub ↗

WithInsecureSkipVerifyHello skips hello verify phase on the server. This has implication on DoS attack resistance. This option is only applicable to servers.

(skip bool)

Source from the content-addressed store, hash-verified

641// This has implication on DoS attack resistance.
642// This option is only applicable to servers.
643func WithInsecureSkipVerifyHello(skip bool) ServerOption {
644 return serverOnlyOption(func(c *dtlsConfig) error {
645 c.insecureSkipVerifyHello = skip
646
647 return nil
648 })
649}
650
651// WithServerHelloMessageHook sets the server hello message hook.
652// Returns an error if the hook is nil.

Callers 1

TestValidOptionsSucceedFunction · 0.85

Calls 1

serverOnlyOptionFuncType · 0.85

Tested by 1

TestValidOptionsSucceedFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…