Mercurial > emacs
changeset 74016:1901e38beff2
(url-http): Make proxy-object buffer-local, to handle proxied
asynchronous connections correctly.
author | Magnus Henoch <mange@freemail.hu> |
---|---|
date | Wed, 15 Nov 2006 23:29:43 +0000 |
parents | 3b7b97e1a3e9 |
children | c313cb342c2b |
files | lisp/url/url-http.el |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/url/url-http.el Wed Nov 15 23:14:49 2006 +0000 +++ b/lisp/url/url-http.el Wed Nov 15 23:29:43 2006 +0000 @@ -1071,7 +1071,8 @@ 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 @@ 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