Re: IMAP timeout during SMTP transmission
- To: mutt-dev@xxxxxxxx
- Subject: Re: IMAP timeout during SMTP transmission
- From: Kyle Wheeler <kyle-mutt-dev@xxxxxxxxxxxxxx>
- Date: Thu, 19 Feb 2009 09:27:35 -0600
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to; s=default; bh=tvztCDf/EbBK7gNUlPCUWNj3Ilo=; b=Sjbe 4ePxqs1rzpGp1xGJBzDkdeQXAEH8bJ+hAOzfOo8uB81sUjRTyN5HufkYfcO6zuKt 8E33vUbpTbPUHH4AeNPq9vRrqbmbMW48bPlLdlUnVfwOQ7d7TRl9wXH/C0AQCWAR Xb1zOj2k/UZNFukP4sY+ddqNdbifWiVXx/1aOVc=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=Ul2V73lyiwdrjlJzV5CLNLBxnOCk8jEWOZZXbXYZ/zvKGSYxVtRB1QLXIQvsfQEDschS0EItQm2IYTAjyDmOcyUgIB+dJhYdH/zAvmVbI7RGqDdmkewfL2DpHuElyXW65omAPJdUwwExw9haLfkBhie5zR7Bq7EdW8cIh4bOw+4=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <20090219114837.GA231@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-dev@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-dev"
- Mail-followup-to: mutt-dev@xxxxxxxx
- Openpgp: id=CA8E235E; url=http://www.memoryhole.net/~kyle/kyle-pgp.asc; preference=signencrypt
- References: <20090217225516.GA64976@xxxxxxxxxxxxx> <20090219114837.GA231@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-dev@xxxxxxxx
- User-agent: Mutt/1.5.19 (2009-01-27)
On Thursday, February 19 at 12:48 PM, quoth Rocco Rutte:
I found a situation where mutt can sometimes forget about its
connections: when using smtp to send email. Apparently during
transmission, mutt forgets about $imap_timeout (or any of the other
ones). Thus, if my IMAP server disconnects people who are idle for
10 minutes and it takes 11 minutes to send a long email (e.g. an
attachment over a slow modem), mutt will be disconnected.
How about taking the imap keepalive dance from keymap.c, turn that into
a function which returns the proper value for timeout()? That function
could then be called right before every progress update.
That makes good sense to me!
~Kyle
--
Seeing a murder on television [...] can help work off one's
antagonisms. And if you haven't any antagonisms, the commercials will
give you some.
-- Alfred Hitchcock
Attachment:
pgpPd0VSU_TZA.pgp
Description: PGP signature