Make gnutls-verify-error work again with url-retrieve-synchronously
commit63398071471f6cd6b006d3c35d2d83c597549e4a
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 13 Sep 2017 18:10:51 +0000 (13 20:10 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 13 Sep 2017 18:11:02 +0000 (13 20:11 +0200)
tree2bfcc3ed4f1770dc1a5312b04a63082632f53fb2
parent4ab44f75d6ad7eb378c85c111ea1006076cf994b
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.
lisp/url/url-gw.el
lisp/url/url-parse.el
lisp/url/url.el