[Dovecot] imap-login hanging when firewall blocks ssl handshaking

Ben Morrow ben at morrow.me.uk
Thu Dec 6 18:37:48 EET 2012


At  2PM +0000 on  6/12/12 Ben Morrow wrote:
>
> +        if (connect(ret, &so.sa, &addrlen) >= 0)
> +                i_panic("dummy connect to detect DEFUNCT socket succeeded");
> +        if (errno == EOPNOTSUPP)
> +                return -1;

Ack, forgot to close the new socket...

    if (errno == EOPNOTSUPP) {
        close(ret);
        return -1;
    }

Sorry about that...

Ben




More information about the dovecot mailing list