WithInsecureSkipVerifyHello skips hello verify phase on the server. This has implication on DoS attack resistance. This option is only applicable to servers.
(skip bool)
| 641 | // This has implication on DoS attack resistance. |
| 642 | // This option is only applicable to servers. |
| 643 | func 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. |
searching dependent graphs…