severity 569038 normal
tag 569038 +unreproducible moreinfo
thanks
On Tue, Feb 09, 2010 at 04:52:43PM +0100, Philip Richardson wrote:
> Hello,
>
> When IMAP host is unreachable mutt is infinitly trying to connect.
> I need to kill the process.
> It's quite easy to reproduce this effect when pointing to a non existant host.
> mutt -f imap://[email protected] (same with pop).
> Trying this with lenny version 1.5.18 (lenny) I have not this trouble.
Hi Philip,
the bug is not reproducible if the hostname doesn't exist.
I tried with an hostname which is not listening on the imap port and it
takes some time to timeout but that depends on connect_timeout value:
(from man muttrc)
-----
connect_timeout
Type: number
Default: 30
Causes Mutt to timeout a network connection (for IMAP, POP or SMTP)
after this many seconds if the connection is not able to be estabā
lished. A negative value causes Mutt to wait indefinitely for the
connection attempt to succeed.
-----
the command
mutt -e 'set connect_timeout=2' -f imap://[email protected]/
will time out after 2 seconds.
Therefore, since it doesn't sound like a bug, I would like to close this
bug, what do you think?
Cheers
Antonio
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]