diff options
author | Lars Magne Ingebrigtsen <larsi@gnus.org> | 2010-10-04 21:34:35 +0200 |
---|---|---|
committer | Lars Magne Ingebrigtsen <larsi@gnus.org> | 2010-10-04 21:34:35 +0200 |
commit | d23832a2cc30f28e1d754fcd4a497c8ba7ca5b18 (patch) | |
tree | 8350a917e10422edfb07d6edc00a01b8474784da /lisp | |
parent | 697ebdb06b70c96e79b844216c305c3ec2eb7f07 (diff) | |
download | emacs-d23832a2cc30f28e1d754fcd4a497c8ba7ca5b18.tar.gz |
(url-http-wait-for-headers-change-function): Revert previous
change. It lead to really slow loads.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/url/ChangeLog | 2 | ||||
-rw-r--r-- | lisp/url/url-http.el | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index 720f682d225..37a635e9906 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog @@ -2,6 +2,8 @@ * url-http.el (url-http-wait-for-headers-change-function): Protect against url-http-response-status for degenerate documents. + (url-http-wait-for-headers-change-function): Revert previous + change. It lead to really slow loads. 2010-10-03 Glenn Morris <rgm@gnu.org> diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index 71de213b64b..1c9c8c8a3de 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el @@ -1054,8 +1054,7 @@ the end of the document." end-of-headers t) (url-http-clean-headers))) - (if (or (not end-of-headers) - (not url-http-response-status)) + (if (not end-of-headers) ;; Haven't seen the end of the headers yet, need to wait ;; for more data to arrive. nil |