[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Determining whether a TCP connection is up
From: |
Thierry Volpiatto |
Subject: |
Re: Determining whether a TCP connection is up |
Date: |
Mon, 05 Aug 2013 17:23:25 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>> - connections will eventually time out (the kernel does have a TCP
>> timeout), and you will be able to reschedule the operation since you
>> used a queue.
>
> Which reminds me that I regularly have Gnus sessions where I get
> neither an answer nor a timeout after (much) more than 10 minutes.
It seems that killing the processes (nnimap, nntpd) each time a group is
quitted avoid a lot of C-g'ing, especially with tethering:
(defun tv-gnus-kill-all-nnimap-procs ()
(loop for proc in (process-list)
when (string-match "\\*?nnimap\\|nntpd" (process-name proc))
do (delete-process proc)))
(add-hook 'gnus-exit-group-hook 'tv-gnus-kill-all-nnimap-procs)
(add-hook 'gnus-group-catchup-group-hook 'tv-gnus-kill-all-nnimap-procs)
Not perfect but it helps.
--
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
- Determining whether a TCP connection is up, Lars Magne Ingebrigtsen, 2013/08/03
- Re: Determining whether a TCP connection is up, Paul Eggert, 2013/08/03
- Re: Determining whether a TCP connection is up, Julien Danjou, 2013/08/03
- Re: Determining whether a TCP connection is up, Lars Magne Ingebrigtsen, 2013/08/05
- Re: Determining whether a TCP connection is up, Julien Danjou, 2013/08/06
- Re: Determining whether a TCP connection is up, joakim, 2013/08/06
- Re: Determining whether a TCP connection is up, Lars Magne Ingebrigtsen, 2013/08/06
- Re: Determining whether a TCP connection is up, Stefan Monnier, 2013/08/06
- Re: Determining whether a TCP connection is up, Lars Magne Ingebrigtsen, 2013/08/12
- Re: Determining whether a TCP connection is up, Stefan Monnier, 2013/08/12