[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24201: 25.1.50; TLS connections sometimes hang
From: |
Lars Ingebrigtsen |
Subject: |
bug#24201: 25.1.50; TLS connections sometimes hang |
Date: |
Thu, 27 Jun 2019 12:34:28 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> OK, so that Ffuncall calls network-stream-get-response. the next
> question is what Lisp code runs 2 stack frames above, i.e. which Lisp
> code calls some other Lisp code, which calls
> network-stream-get-response? Can you spot that? The offending code
> should be somewhere in network-stream-get-response or functions it
> calls.
>
> Once we identify the Lisp code which loops, we need to try to figure
> out why it loops.
I'm pretty sure it's this:
(while (and (memq (process-status stream) '(open run))
(not (re-search-forward end-of-command nil t)))
(accept-process-output stream 0.05)
(goto-char start))
But I do not understand why C-g doesn't work: I've tried to follow the
call chain, and I can see no instances of binding `inhibit-quit'...
If C-g worked, it'd be easier to debug...
>> And upon continuing, Emacs un-stuck with the following message:
>>
>> Error running timer ‘gnus-async-prefetch-article’: (error "Server
>> closed connection")
>
> So probably we loop until the other side closes the connection?
Yup.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#24201: 25.1.50; TLS connections sometimes hang, Lars Ingebrigtsen, 2019/06/24
- bug#24201: 25.1.50; TLS connections sometimes hang, Eli Zaretskii, 2019/06/24
- bug#24201: 25.1.50; TLS connections sometimes hang, Lars Ingebrigtsen, 2019/06/24
- bug#24201: 25.1.50; TLS connections sometimes hang, Lars Ingebrigtsen, 2019/06/25
- bug#24201: 25.1.50; TLS connections sometimes hang, Lars Ingebrigtsen, 2019/06/25
- bug#24201: 25.1.50; TLS connections sometimes hang, Eli Zaretskii, 2019/06/26
- bug#24201: 25.1.50; TLS connections sometimes hang,
Lars Ingebrigtsen <=
- bug#24201: 25.1.50; TLS connections sometimes hang, Eli Zaretskii, 2019/06/27
- bug#24201: 25.1.50; TLS connections sometimes hang, Lars Ingebrigtsen, 2019/06/27
- bug#24201: 25.1.50; TLS connections sometimes hang, Eli Zaretskii, 2019/06/28
- bug#24201: 25.1.50; TLS connections sometimes hang, Lars Ingebrigtsen, 2019/06/28
- bug#24201: 25.1.50; TLS connections sometimes hang, Eli Zaretskii, 2019/06/28
- bug#24201: 25.1.50; TLS connections sometimes hang, Lars Ingebrigtsen, 2019/06/28
- bug#24201: 25.1.50; TLS connections sometimes hang, Eli Zaretskii, 2019/06/28
- bug#24201: 25.1.50; TLS connections sometimes hang, Basil L. Contovounesios, 2019/06/28
- bug#24201: 25.1.50; TLS connections sometimes hang, Eli Zaretskii, 2019/06/28
- bug#24201: 25.1.50; TLS connections sometimes hang, Lars Ingebrigtsen, 2019/06/30