]> granicus.if.org Git - mutt/commit
Send imap keepalives for interactive filters.
authorKevin McCarthy <kevin@8t8.us>
Tue, 18 Sep 2018 02:40:22 +0000 (19:40 -0700)
committerKevin McCarthy <kevin@8t8.us>
Tue, 18 Sep 2018 02:56:01 +0000 (19:56 -0700)
commit4350694b55f676af23365ce14814c57032824ae9
tree8729c66d6f1898c84d727d814a70814dfb747c8d
parent668b76f29b62ac7fe35a8cd8e0dac98ebdf5d251
Send imap keepalives for interactive filters.

When viewing attachments externally with a (non-copiousoutput) mailcap
entry missing %s, the command is invoked as a filter, with the
attachment piped into stdin.  However, unlike a filter, the user
interacts with the command, instead of just displaying the output in
the pager.

Just as with the mutt_system() command, Mutt needs to send imap
keepalives to keep those connections from closing during the
potentially extended invocation.

Thanks to John Hawkinson for the bug report, and his suggested patch,
which this commit is based upon.
attach.c
filter.c
protos.h