emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 84613da: Use a non-proxy request when retrieving ht


From: Andreas Schwab
Subject: [Emacs-diffs] master 84613da: Use a non-proxy request when retrieving https URLs via a proxy
Date: Fri, 29 Jun 2018 11:27:29 -0400 (EDT)

branch: master
commit 84613dae5c34ea742dd9a3e56f5acb55f604b483
Author: Andreas Schwab <address@hidden>
Commit: Andreas Schwab <address@hidden>

    Use a non-proxy request when retrieving https URLs via a proxy
    
    * lisp/url/url-http.el
    (url-https-proxy-after-change-function): Bind url-http-proxy
    to nil around url-http-create-request.
---
 lisp/url/url-http.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el
index 53798f7..817c5ce 100644
--- a/lisp/url/url-http.el
+++ b/lisp/url/url-http.el
@@ -1412,7 +1412,9 @@ The return value of this function is the retrieval 
buffer."
                         'url-http-wait-for-headers-change-function)
                   (set-process-filter tls-connection 'url-http-generic-filter)
                   (process-send-string tls-connection
-                                       (url-http-create-request)))
+                                       ;; Use the non-proxy form of the request
+                                       (let (url-http-proxy)
+                                         (url-http-create-request))))
               (gnutls-error
                (url-http-activate-callback)
                (error "gnutls-error: %s" e))



reply via email to

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