mirror of
https://github.com/mjl-/mox.git
synced 2025-07-14 05:34:38 +03:00
fix typo's and old reference
This commit is contained in:
@ -255,8 +255,8 @@ var errHostNotAllowed = errors.New("autotls: host not in allowlist")
|
||||
|
||||
// HostPolicy decides if a host is allowed for use with ACME, i.e. whether a
|
||||
// certificate will be returned if present and/or will be requested if not yet
|
||||
// present. Only hosts added with AllowHostname are allowed. During shutdown, no
|
||||
// new connections are allowed.
|
||||
// present. Only hosts added with SetAllowedHostnames are allowed. During shutdown,
|
||||
// no new connections are allowed.
|
||||
func (m *Manager) HostPolicy(ctx context.Context, host string) (rerr error) {
|
||||
log := xlog.WithContext(ctx)
|
||||
defer func() {
|
||||
|
Reference in New Issue
Block a user