mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-21 06:55:39 +00:00
Fix url-http use of url-current-object
* lisp/url/url-http.el (url-http): Bind url-current-object before calling url-http-find-free-connection. (Bug#28515)
This commit is contained in:
parent
4a755ed421
commit
a4f7518817
@ -1249,6 +1249,9 @@ The return value of this function is the retrieval buffer."
|
||||
(nsm-noninteractive (or url-request-noninteractive
|
||||
(and (boundp 'url-http-noninteractive)
|
||||
url-http-noninteractive)))
|
||||
;; The following binding is needed in url-open-stream, which
|
||||
;; is called from url-http-find-free-connection.
|
||||
(url-current-object url)
|
||||
(connection (url-http-find-free-connection (url-host url)
|
||||
(url-port url)
|
||||
gateway-method))
|
||||
|
Loading…
Reference in New Issue
Block a user