1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Make gnutls-verify-error work again with url-retrieve-synchronously

* lisp/url/url-gw.el (url-open-stream): Only use :nowait if
we're doing async connections (bug#26835).

* lisp/url/url-parse.el (url): Add an asynchronous slot.

* lisp/url/url.el (url-asynchronous): New variable.
(url-retrieve-internal): Store the value.
(url-retrieve-synchronously): Bind the variable.
This commit is contained in:
Lars Ingebrigtsen 2017-09-13 20:10:51 +02:00
parent 4ab44f75d6
commit 6339807147
3 changed files with 10 additions and 3 deletions

View file

@ -36,7 +36,8 @@
target attributes fullness))
(:copier nil))
type user password host portspec filename target attributes fullness
silent (use-cookies t))
silent (use-cookies t)
(asynchronous t))
(defsubst url-port (urlobj)
"Return the port number for the URL specified by URLOBJ.