[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Chasing down a network problem
From: |
Lars Ingebrigtsen |
Subject: |
Chasing down a network problem |
Date: |
Wed, 26 Dec 2012 22:01:22 +0100 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) |
Sometimes, while talking to imap.gmail.com, the connection hangs
forever. `C-g'-ing and popping to the buffer reveals that the process
is invariably dead when this happens.
The loop is basically:
(while (memq (process-status process) '(open run))
...
(accept-process-output process 1))
The connection is a TLS one.
Is it at all possible that a loop like this won't allow Emacs to update
the status of the connection? So that `process-status' doesn't get the
right response until we hit the idle loop?
It sounds kinda totally unlikely, but I thought I'd ask.
I've added a lot more debugging code now, but it's very difficult to
reproduce the bug.
--
(domestic pets only, the antidote for overdose, milk.)
http://lars.ingebrigtsen.no * Lars Magne Ingebrigtsen
- Chasing down a network problem,
Lars Ingebrigtsen <=