#3866: interrupting mutt operations
-----------------------+----------------------
 Reporter:  antonio@…  |      Owner:  mutt-dev
     Type:  defect     |     Status:  new
 Priority:  major      |  Milestone:
Component:  mutt       |    Version:  1.7.0
 Keywords:             |
-----------------------+----------------------
 Hi,
 this is a catch all bug that I would like to solve in Debian with a single
 patch, that will help us to close at least 7 bugs all together.

 Currently there are operation that locks mutt and you cannot really
 interrupt them, sometimes it's because of SA_RESTART on the signal mask
 and some other times I haven't found a reason so I'm asking your help to
 produce a patch.

 2 cases as an example:

 (1) I'm sending a mail with a large attachment, I change my mind and I
 want to interrupt smtp_data, ctrl+C doesn't help

 This patch helps to do that:
 https://anonscm.debian.org/cgit/pkg-
 mutt/mutt.git/commit/?id=91a79c5daea954bd52c285081b82a473fa8407be

 (2) do the following

 (a) open a IMAP mailbox

 (b) iptables -A OUTPUT -d imap_server_ip -j DROP

 (c) mutt freezes

 cltr+C does not help, even if I call mutt_allow_interrupts(1) before, the
 call seems stuck in the recv() of gnutls, can we have a way to interrupt
 that?

--
Ticket URL: <https://dev.mutt.org/trac/ticket/3866>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to