GNU bug report logs - #22789
25.1.50; In last master build https connections stop working

Previous Next

Package: emacs;

Reported by: José L. Doménech <j_l_domenech <at> yahoo.com>

Date: Wed, 24 Feb 2016 10:29:02 UTC

Severity: normal

Found in version 25.1.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Alain Schneble <a.s <at> realize.ch>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: j_l_domenech <at> yahoo.com, 22789 <at> debbugs.gnu.org
Subject: bug#22789: 25.1.50; In last master build https connections stop working
Date: Tue, 1 Mar 2016 00:20:45 +0100
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Alain Schneble <a.s <at> realize.ch> writes:
>
>> But the point I tried to address is the following: /When/ shall we start
>> with the handshake "series" and start counting the number of tries (or
>> stopwatch)?  Don't you agree that with async sockets, it doesn't make
>> much sense to start it before the socket is connected?
>
> Yeah, it probably doesn't make any sense to start trying until it's
> connected.  What's the incantation to check whether a socket has
> finished its three-way TCP handshake?  

I'm not quite sure, but my understanding was that this expression does
answer this question:

(fd_info[p->infd].flags & FILE_CONNECT) == 0

Or am I wrong?

See also patch in the previous message.  If we decide to go this
direction, then I think we should also inhibit the first call to
gnutls_try_handshake from gnutls_boot, for async sockets.  This call is
currently implicit and will probably fail (return with EAGAIN) in all
practical cases.





This bug report was last modified 9 years and 132 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.