From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#22789: 25.1.50; In last master build https connections stop working Date: Sun, 28 Feb 2016 18:47:41 +0200 Message-ID: <83lh64aij6.fsf@gnu.org> References: <864mcyo14y.fsf@Lenovo-PC.i-did-not-set--mail-host-address--so-tickle-me> <87d1rmxl65.fsf@gnus.org> <86povm6qeu.wl-j_l_domenech@yahoo.com> <83k2lugeym.fsf@gnu.org> <871t81wtyt.fsf@gnus.org> <87r3g1veqc.fsf@gnus.org> <86si0euizj.fsf@realize.ch> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1456678168 6262 80.91.229.3 (28 Feb 2016 16:49:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Feb 2016 16:49:28 +0000 (UTC) Cc: larsi@gnus.org, j_l_domenech@yahoo.com, 22789@debbugs.gnu.org To: Alain Schneble Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 28 17:49:13 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aa4Wu-00076K-DQ for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Feb 2016 17:49:12 +0100 Original-Received: from localhost ([::1]:59660 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aa4Wt-0002S3-QF for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Feb 2016 11:49:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54180) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aa4Wo-0002Rt-Lu for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2016 11:49:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aa4Wk-0007GM-R8 for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2016 11:49:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53806) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aa4Wk-0007GD-Nt for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2016 11:49:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aa4Wk-0000sG-Gm for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2016 11:49:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Feb 2016 16:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22789 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22789-submit@debbugs.gnu.org id=B22789.14566780943307 (code B ref 22789); Sun, 28 Feb 2016 16:49:02 +0000 Original-Received: (at 22789) by debbugs.gnu.org; 28 Feb 2016 16:48:14 +0000 Original-Received: from localhost ([127.0.0.1]:50933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aa4Vx-0000rH-Tx for submit@debbugs.gnu.org; Sun, 28 Feb 2016 11:48:14 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:34805) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aa4Vs-0000r0-Hs for 22789@debbugs.gnu.org; Sun, 28 Feb 2016 11:48:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aa4Vi-0006ys-U1 for 22789@debbugs.gnu.org; Sun, 28 Feb 2016 11:48:03 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38372) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aa4Vi-0006yl-Qg; Sun, 28 Feb 2016 11:47:58 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3435 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aa4Vi-00048n-2Q; Sun, 28 Feb 2016 11:47:58 -0500 In-reply-to: <86si0euizj.fsf@realize.ch> (message from Alain Schneble on Sat, 27 Feb 2016 19:05:20 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:114046 Archived-At: > From: Alain Schneble > CC: Eli Zaretskii , José L. Doménech > , <22789@debbugs.gnu.org> > Date: Sat, 27 Feb 2016 19:05:20 +0100 > > Lars Ingebrigtsen writes: > > > (setq proc > > (make-network-process :name "foo" > > :buffer (get-buffer-create "*foo*") > > :host "imap.gmail.com" > > :service 993 > > :nowait t > > :tls-parameters > > (cons 'gnutls-x509pki > > (gnutls-boot-parameters > > :type 'gnutls-x509pki > > :hostname "imap.gmail.com")))) > > > > * OK Gimap ready for requests from 60.225.211.161 qr7mb410250987iec > > > > should appear. Also, after evaling that, what does > > It seems to be a timing issue. If I set gnutls-log-level to 5, this > works also on Windows (i.e i get OK Gimap...). Actually, with the latest trunk this works even without increasing the log level. I guess the latest changes in gnutls.c did it. > I guess that it enters this path because the socket is not ready yet. > But why? Because the connection didn't complete yet, and we are already trying the GnuTLS handshake.