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#20159: 24.4; url-retrieve invokes same callback twice with kill-buffer Date: Sat, 28 Mar 2015 10:39:40 +0300 Message-ID: <838ueh1sg3.fsf@gnu.org> References: <87k2ya3wpz.fsf@wellocc1-ld2.jhuapl.edu> <83y4mqrrp8.fsf@gnu.org> <87egoi3tuy.fsf@wellocc1-ld2.jhuapl.edu> <83pp81rla3.fsf@gnu.org> <838ueibwe7.fsf@gnu.org> <83lhii1c08.fsf@gnu.org> <83iodm1b6k.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1427528427 16632 80.91.229.3 (28 Mar 2015 07:40:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Mar 2015 07:40:27 +0000 (UTC) Cc: 20159@debbugs.gnu.org To: andrewjmoreton@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 28 08:40:16 2015 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 1YblLp-0005eA-1c for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Mar 2015 08:40:13 +0100 Original-Received: from localhost ([::1]:53047 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YblLo-0006wr-B8 for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Mar 2015 03:40:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55726) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YblLk-0006v4-I9 for bug-gnu-emacs@gnu.org; Sat, 28 Mar 2015 03:40:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YblLf-0001GB-JH for bug-gnu-emacs@gnu.org; Sat, 28 Mar 2015 03:40:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48757) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YblLf-0001Fr-Gc for bug-gnu-emacs@gnu.org; Sat, 28 Mar 2015 03:40:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YblLe-0007LE-Pf for bug-gnu-emacs@gnu.org; Sat, 28 Mar 2015 03:40:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Mar 2015 07:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20159 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20159-submit@debbugs.gnu.org id=B20159.142752839228197 (code B ref 20159); Sat, 28 Mar 2015 07:40:02 +0000 Original-Received: (at 20159) by debbugs.gnu.org; 28 Mar 2015 07:39:52 +0000 Original-Received: from localhost ([127.0.0.1]:38533 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YblLT-0007Kj-VZ for submit@debbugs.gnu.org; Sat, 28 Mar 2015 03:39:52 -0400 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:58791) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YblLP-0007KQ-1b for 20159@debbugs.gnu.org; Sat, 28 Mar 2015 03:39:48 -0400 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NLW00D00VIAOZ00@mtaout29.012.net.il> for 20159@debbugs.gnu.org; Sat, 28 Mar 2015 10:36:49 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NLW007TKVTCTD50@mtaout29.012.net.il>; Sat, 28 Mar 2015 10:36:49 +0300 (IDT) In-reply-to: <83iodm1b6k.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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:100988 Archived-At: > Date: Fri, 27 Mar 2015 22:40:19 +0300 > From: Eli Zaretskii > Cc: 20159@debbugs.gnu.org > > > > This change broke gnus for me on a mingw64 x64 build of emacs, as gnutls > > > seems unable to connect to the NNTP server at gmane.org. > > > > Sorry about that. Does Gnus do something windows-specific for > > connecting? Perhaps that specific treatment relied on something that > > is no longer true on Windows. > > Another, perhaps more probable culprit is the emacs_gnutls_pull > function. It calls sys_read, where I made some changes to support the > non-blocking connect. Perhaps emacs_gnutls_pull cannot cope with some > results of those changes, and itself needs to be amended. I found and fixed a stupid mistake in sys_connect that broke blocking connects. Before I fixed it, "M-x eww" wouldn't work; now it does, including with HTTPS URLs that require GnuTLS. Please see if this also fixes your problem with Gnus and GnuTLS connections to NNTP servers. Sorry.