Subject: bug#48103: 28.0.50; tls connection failing on invoking package-list-packages (and other operations)

From: Robert Pluim <[email-masked]>
Date: Thu, 06 May 2021 14:59:51 +0200

>>>>> On Thu, 06 May 2021 11:13:04 +0200, Lars Ingebrigtsen <[email-masked]> said:

    Lars> Robert Pluim <[email-masked]> writes:
    >> I had a quick look at what gnutls-cli does differently, and it sets a
    >> timeout on the handshake, but that then requires you to supply a
    >> timeout callback, which ends up calling select.

    Lars> Right -- and in Emacs we're just polling on EAGAIN, perhaps?

Essentially, yes. I took a poke at copying what gnutls-cli does, but
itʼs broken TLS connections to some sites (eg gnu.org). It may end up
not being a small change (ie we may have to add in custom pull/push
functions rather than just a timeout function).

Robert
--