debian-bugs-dist  

Bug#569038: mutt: No timeout for an unreachable host

Philip Richardson
Tue, 09 Feb 2010 14:04:53 -0800

On Tue, Feb 09, 2010 at 09:30:13PM +0000, Antonio Radici wrote:
> 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://m...@google.com/
> 
> will time out after 2 seconds.
I agree, it works this way but without this option the default timout (30 sec) 
isn't working and I had already tried this option  in a .muttrc configuration 
file launched with mutt -F .muttrc and it didn't worked. 
> 
> Therefore, since it doesn't sound like a bug, I would like to close this
> bug, what do you think?
For me sid version isn't working as it should in this case.

Thanks

Philip



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org