mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 16:33:47 +03:00
fix typo's and old reference
This commit is contained in:
parent
8096441f67
commit
459317097b
3 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue