[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reviving Gnus after suspend/hibernation
From: |
Stefan Monnier |
Subject: |
Re: Reviving Gnus after suspend/hibernation |
Date: |
Thu, 27 Oct 2011 17:12:28 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) |
> Active Emacs network connections are not always closed properly upon
> resuming from suspend. This is a problem with GnuTLS, which keeps
> waiting for data and hangs Emacs. So I want to write a resume handler
> that will close all the GnuTLS connections.
Writing a resume handler would just patch over the problem, because this
problem can also show up without suspend&resume (typically, you're
behind a NAT router, and you leave the connection idle for a while,
after which the NAT router decides to forget about this connection).
Presumably setting the `keepalive' bit on the TCP connection should help, but:
- we should also make sure that C-g works.
- we should time out (hopefully keepalive does it for us) after a while.
- we should figure out what other applications (e.g. other MUAs) do.
- we should make it easy for the user to kill the connection if it is
hung (e.g. make C-g kill the connection).
Stefan
- Re: Reviving Gnus after suspend/hibernation, Ted Zlatanov, 2011/10/27
- Re: Reviving Gnus after suspend/hibernation, joakim, 2011/10/27
- Re: Reviving Gnus after suspend/hibernation,
Stefan Monnier <=
- Re: Reviving Gnus after suspend/hibernation, Ted Zlatanov, 2011/10/27
- Re: Reviving Gnus after suspend/hibernation, Stefan Monnier, 2011/10/27
- Re: Reviving Gnus after suspend/hibernation, Ted Zlatanov, 2011/10/28
- Re: Reviving Gnus after suspend/hibernation, Stefan Monnier, 2011/10/28
- Re: Reviving Gnus after suspend/hibernation, Jason Rumney, 2011/10/28
- Re: Reviving Gnus after suspend/hibernation, Stefan Monnier, 2011/10/29
- Re: Reviving Gnus after suspend/hibernation, Ted Zlatanov, 2011/10/29
- Re: Reviving Gnus after suspend/hibernation, Stefan Monnier, 2011/10/29
- Re: Reviving Gnus after suspend/hibernation, Ted Zlatanov, 2011/10/29
Re: Reviving Gnus after suspend/hibernation, Antoine Levitt, 2011/10/29