[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23225: 25.1.50; url-retrieve-synchronously having trouble with some
bug#23225: 25.1.50; url-retrieve-synchronously having trouble with some https URLs
Tue, 05 Apr 2016 19:30:12 +0100
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (darwin)
In the latest trunk, url-retrieve-synchronously is having trouble with
some https URLS. In the Emacs -Q scratch buffer, this returns the empty string:
But this works perfectly
(with-current-buffer (url-retrieve-synchronously "https://google.com/")
(with-current-buffer (url-retrieve-synchronously "http://google.com/")
No ideia why it works on google and gmail.
The misbehaving propagated silently and I came across this using M-x
package-install RET ... RET, which magically compiles a 0-byte package.
I think the protocol for url-retrieve-synchornously could be
revised. Its users seem to expect it to return nil or at least a
non-buffer if something went wrong, but that's clearly not what happened
here. Perhaps it should error.
Anyway, the buffer process is failing silently. A lower-level `url-retrieve'
doesn't even call its callback.
I'll try to debug a bit further if I find the time, in the meantime
here's a report.
- bug#23225: 25.1.50; url-retrieve-synchronously having trouble with some https URLs,
João Távora <=