From: Tao Fang <fangtao0901@gmail.com>
To: Chunyang Xu <xuchunyang.me@gmail.com>
Cc: "Noam Postavsky" <npostavs@users.sourceforge.net>,
Alexis <flexibeast@gmail.com>,
"João Távora" <joaotavora@gmail.com>,
23225@debbugs.gnu.org
Subject: bug#23225: 25.1.50; url-retrieve-synchronously having trouble with some https URLs
Date: Sun, 31 Jul 2016 00:44:30 +0800 [thread overview]
Message-ID: <8760rn6pox.fsf@gmail.com> (raw)
In-Reply-To: <CAHs_4i=1uKLR1KnZ+UPA1wD94OMGf81dp0whsCJEZXB1VJ=DaQ@mail.gmail.com> (Chunyang Xu's message of "Sat, 11 Jun 2016 21:59:05 +0800")
I've tested on macOS Sierra 10.12(16A254g)/Xcode 7.3.1(7D1014), emacs
(compiled from git master --with-gnutls) and gnutls-3.5.2 (compiled from
source), and same problem here.
> gnutls.c: [2] WRITE: -1 returned from 0x12, errno: 57
errno 57 is ENOTCONN (defined in /usr/include/sys/errno.h) in the case
of that after called connect() with asynchronous socket, when TCP
three-way handshake was not accomplished, calling write() will return
ENOTCONN. I'm not sure if this conform POSIX.1 since the manual(man 2
write) mentions standards and AFAIK [EAGAIN] or [EWOULDBLOCK] would be a
better choice.
And gnutls didn't properly handle error 57(ENOTCONN) in errno_to_gerr()
(lib/buffers.c), I've fired a bug report with above message at:
https://gitlab.com/gnutls/gnutls/issues/117
Back to emacs, and after some searching and compiling test, it seems
that this commit cause the master branch broken on OS X:
63efcc268635dea78c6bd80749eae4ee2c72d717
Author: John Wiegley <johnw@newartisans.com>
AuthorDate: Fri Mar 11 13:33:32 2016 -0800
Commit: John Wiegley <johnw@newartisans.com>
CommitDate: Fri Mar 11 13:33:32 2016 -0800
Parent: b4fbd69 ; Merge from origin/emacs-25
Parent: facb5e2 Update Emacs manual section related to character
folding
Containing: master
Follows: emacs-25.0.92 (3006)
this problem doesn't exist before that, and current emacs-25 branch is
also good.
next prev parent reply other threads:[~2016-07-30 16:44 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-05 18:30 bug#23225: 25.1.50; url-retrieve-synchronously having trouble with some https URLs João Távora
2016-04-10 23:45 ` Alexis
2016-06-04 16:17 ` Tao Fang
2016-06-04 16:23 ` Noam Postavsky
2016-06-11 4:00 ` Chunyang Xu
2016-06-11 12:47 ` Noam Postavsky
2016-06-11 12:54 ` Chunyang Xu
2016-06-11 13:36 ` Noam Postavsky
2016-06-11 13:59 ` Chunyang Xu
2016-07-30 16:44 ` Tao Fang [this message]
2016-08-06 23:56 ` Tao Fang
2016-08-09 12:57 ` Noam Postavsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8760rn6pox.fsf@gmail.com \
--to=fangtao0901@gmail.com \
--cc=23225@debbugs.gnu.org \
--cc=flexibeast@gmail.com \
--cc=joaotavora@gmail.com \
--cc=npostavs@users.sourceforge.net \
--cc=xuchunyang.me@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.