File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -426,11 +426,12 @@ func (a *Acceptor) SetConnectionValidator(validator ConnectionValidator) {
426426 a .connectionValidator = validator
427427}
428428
429- // SetTLSConfig allows the creator of the Acceptor to specify a fully customizable tls.Config.
430-
431- // When the caller explicitly provides a tls.Config with this function,
429+ // SetTLSConfig allows the creator of the Acceptor to specify a fully customizable tls.Config of their choice,
430+ // which will be used in the Start() method.
431+ //
432+ // Note: when the caller explicitly provides a tls.Config with this function,
432433// it takes precendent over TLS settings specified in the acceptor's settings.GlobalSettings(),
433- // meaning that the setting object is not inspected or used for the creation of the tls.Config.
434+ // meaning that the `settings.GlobalSettings()` object is not inspected or used for the creation of the tls.Config.
434435func (a * Acceptor ) SetTLSConfig (tlsConfig * tls.Config ) {
435436 a .tlsConfig = tlsConfig
436437}
You can’t perform that action at this time.
0 commit comments