#3491: hangs when IP address changes
------------------------------+---------------------------------------------
Reporter: antonio@… | Owner: mutt-dev
Type: defect | Status: new
Priority: trivial | Milestone:
Component: mutt | Version: 1.5.21
Keywords: |
------------------------------+---------------------------------------------
Comment(by petr_p):
I don't think mutt (or any generic application) should watch local IP
addresses. This is job for kernel to close stream connections after
loosing local address.
Though mutt should be able to interrupt network operation on user request.
If server becomes unresponsive, or connection is to slow, it's useful to
be able to abort e.g. fetching e-mail body.
I think simple SIGINT handler could set a flag and EINTRed syscall loop
could break on the flag.
Also there could be possibility to adjust network time-out (SO_RCVTIMEO,
SO_SNDTIMEO) if default system-wide value is not suitable (like
connect_timeout exists for establishing a connection).
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3491#comment:2>
Mutt <http://www.mutt.org/>
The Mutt mail user agent