summaryrefslogtreecommitdiff
path: root/lisp/url/url-http.el
diff options
context:
space:
mode:
authorMagnus Henoch <mange@freemail.hu>2006-11-15 23:29:56 +0000
committerMagnus Henoch <mange@freemail.hu>2006-11-15 23:29:56 +0000
commit6e2988e60d95edb6f4c05ca6aa0e85622548adab (patch)
treee46444943f82207ee71b8294aa9d9da51bb6d553 /lisp/url/url-http.el
parentd58fae84a67394c2b8453e6d7efcd4817b3f4634 (diff)
downloademacs-6e2988e60d95edb6f4c05ca6aa0e85622548adab.tar.gz
(url-http): Make proxy-object buffer-local, to handle proxied
asynchronous connections correctly.
Diffstat (limited to 'lisp/url/url-http.el')
-rw-r--r--lisp/url/url-http.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el
index dc670188e26..69c04c51c28 100644
--- a/lisp/url/url-http.el
+++ b/lisp/url/url-http.el
@@ -1071,7 +1071,8 @@ CBARGS as the arguments."
url-http-chunked-length
url-http-chunked-start
url-http-chunked-counter
- url-http-process))
+ url-http-process
+ proxy-object))
(let ((connection (url-http-find-free-connection (url-host url)
(url-port url)))
(buffer (generate-new-buffer (format " *http %s:%d*"
@@ -1106,6 +1107,7 @@ CBARGS as the arguments."
url-http-data
url-http-target-url))
(set (make-local-variable var) nil))
+ (make-local-variable 'proxy-object)
(setq url-http-method (or url-request-method "GET")
url-http-extra-headers url-request-extra-headers