<<< Date Index >>>     <<< Thread Index >>>

[Mutt] #3262: tls_socket_write error when too long in editor



#3262: tls_socket_write error when too long in editor
------------------------------+---------------------------------------------
 Reporter:  antonio@xxxxxxxx  |       Owner:  mutt-dev
     Type:  defect            |      Status:  new     
 Priority:  minor             |   Milestone:          
Component:  mutt              |     Version:  1.5.19  
 Keywords:                    |  
------------------------------+---------------------------------------------
 Forwarding from http://bugs.debian.org/521732

 {{{
 Hi,

 for quite some time now I get annoyed by a tls_socket_write error almost
 everytime I'm writing a new mail or even if I'm reading one for a too
 long time. It seems like mutt is loosing its imap connection somehow.

 It is annoying because changes to the current mailbox are gone, you have
 to hit 'y' to send your mail twice to re-open the imap connection and
 then re-open your mailbox.

 Here is some debugging (level 5) when it happens:

 I'm starting to write a mail here:
     mutt_num_postponed: 1 postponed IMAP messages found.
     ../send.c:1184: mutt_mktemp returns "/tmp/mutt-motte-1000-4793-1".
     ../headers.c:47: mutt_mktemp returns "/tmp/mutt-motte-1000-4793-2".
     ../pgp.c:1006: mutt_mktemp returns "/tmp/mutt-motte-1000-4793-3".
     ../pgp.c:1012: mutt_mktemp returns "/tmp/mutt-motte-1000-4793-4".
     mutt_pgp_command: gpg --no-verbose --batch --quiet --output -
 --passphrase-fd 0 --armor --detach-sign --textmode -u 0xE0FC710D /tmp
 /mutt-motte-1000-4793-4
     5> a0069 STATUS "INBOX/Sent" (UIDVALIDITY)
     tls_socket_write (Error in the push function.)
     mutt_socket_write: error writing, closing socket
     imap_access: Can't check STATUS of "INBOX/Sent"
     mutt_write_fcc(): unable to open mailbox imaps://pfaffe.jhr-
 online.de/INBOX//Sent in append-mode, aborting.
     mutt_free_body: Unlinking /tmp/mutt-motte-1000-4793-1.
 This is also interesting... I don't have any doc or xls files AFAIK :)
     mutt_free_body: Not unlinking charts94.xls.
     mutt_free_body: Not unlinking Dok1.doc.
     Mailbox closed
     mutt_socket_close: Attempt to close closed connection.
 And then I reconnect manually (as I said: hitting 'y' twice)
     Connected to pfaffe.jhr-online.de:993 on fd=5

 I've never seen this behaviour on my powerpc notebook but on i386 (and
 amd64 IIRC) it keeps happening all the time.

 }}}

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