fix typo's and old reference

This commit is contained in:
Mechiel Lukkien 2023-06-22 21:27:52 +02:00
parent 8096441f67
commit 459317097b
No known key found for this signature in database
3 changed files with 4 additions and 4 deletions

View file

@ -138,7 +138,7 @@ But perhaps in the future...
- Delivery to (unix) OS system users - Delivery to (unix) OS system users
- Mailing list manager - Mailing list manager
- Support for pluggable delivery mechanisms - Support for pluggable delivery mechanisms
- iOS Mail push notifications (with XAPPLEPUSHSERVICE undocumened imap - iOS Mail push notifications (with XAPPLEPUSHSERVICE undocumented imap
extension and hard to get APNS certificate) extension and hard to get APNS certificate)

View file

@ -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 // 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 // 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 // present. Only hosts added with SetAllowedHostnames are allowed. During shutdown,
// new connections are allowed. // no new connections are allowed.
func (m *Manager) HostPolicy(ctx context.Context, host string) (rerr error) { func (m *Manager) HostPolicy(ctx context.Context, host string) (rerr error) {
log := xlog.WithContext(ctx) log := xlog.WithContext(ctx)
defer func() { defer func() {

View file

@ -105,7 +105,7 @@ func TestDeliver(t *testing.T) {
case <-timer.C: case <-timer.C:
err = fmt.Errorf("nothing within %v", period) err = fmt.Errorf("nothing within %v", period)
} }
xcheck(err, "waiting for imap untagged repsonse to idle") xcheck(err, "waiting for imap untagged response to idle")
imaperr <- nil imaperr <- nil
}() }()