diff options
author | Ulf Jasper <ulf.jasper@web.de> | 2014-09-28 20:00:54 +0200 |
---|---|---|
committer | Ulf Jasper <ulf.jasper@web.de> | 2014-09-28 20:00:54 +0200 |
commit | 98c58df832975b01287ef749dd5235199d4cd431 (patch) | |
tree | 0b39796f37d1044e594890b1e4d85887f3ca152f /lisp/url/ChangeLog | |
parent | 3ff1c9a8ea8e7b792f89b807af056f6bf22c4b43 (diff) | |
download | emacs-98c58df832975b01287ef749dd5235199d4cd431.tar.gz |
Do not set `url-gateway-method' in `url-https'. (Bug#16543)
Currently, when `url-retrieve' is called for an https url it modifies
the variable `url-gateway-method'. This has been changed to
explicitly pass the requested gateway method to other functions.
When `url-retrieve' is being processed then (via
`accept-process-output') another `url-retrieve' call from a pending
timer can be started. The second call would always see the modified
`url-gateway-method' of the first one, which in general does not match
the url.
2014-09-28 Ulf Jasper <ulf.jasper@web.de>
* url-gw.el (url-open-stream): New optional parameter
`gateway-method'. If non-nil use it instead of global variable
`url-gateway-method'.
* url/url-http.el (url-http): New optional parameter
`gateway-method', pass it to `url-http-find-free-connection'.
(url-http-find-free-connection): New optional parameter
gateway-method, pass it to `url-open-stream'.
(url-https-create-secure-wrapper): Do not modify
`url-gateway-method' but explicitly provide 'tls as gateway-method
parameter to `url-https'.
Diffstat (limited to 'lisp/url/ChangeLog')
-rw-r--r-- | lisp/url/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index b99f57cfbfd..81096cfb800 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog @@ -1,3 +1,17 @@ +2014-09-28 Ulf Jasper <ulf.jasper@web.de> + + * url-gw.el (url-open-stream): New optional parameter + `gateway-method'. If non-nil use it instead of global variable + `url-gateway-method'. + + * url/url-http.el (url-http): New optional parameter + `gateway-method', pass it to `url-http-find-free-connection'. + (url-http-find-free-connection): New optional parameter + gateway-method, pass it to `url-open-stream'. + (url-https-create-secure-wrapper): Do not modify + `url-gateway-method' but explicitly provide 'tls as gateway-method + parameter to `url-https'. + 2014-09-22 Dmitry Gutov <dgutov@yandex.ru> * url.el (url-retrieve-internal): Clarify the docstring. |