emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 a4f7518: Fix url-http use of url-current-object


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-26 a4f7518: Fix url-http use of url-current-object
Date: Sat, 30 Sep 2017 09:34:54 -0400 (EDT)

branch: emacs-26
commit a4f75188173e7ce1ab4b3c11ba091f20af69d995
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    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)
---
 lisp/url/url-http.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el
index 9e8c58b..51f158e 100644
--- a/lisp/url/url-http.el
+++ b/lisp/url/url-http.el
@@ -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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]