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.
This commit is contained in:
parent
45390596e6
commit
84613dae5c
1 changed files with 3 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue