aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/url
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen <[email protected]>2010-10-04 21:34:35 +0200
committerLars Magne Ingebrigtsen <[email protected]>2010-10-04 21:34:35 +0200
commitd23832a2cc30f28e1d754fcd4a497c8ba7ca5b18 (patch)
tree8350a917e10422edfb07d6edc00a01b8474784da /lisp/url
parent697ebdb06b70c96e79b844216c305c3ec2eb7f07 (diff)
(url-http-wait-for-headers-change-function): Revert previous
change. It lead to really slow loads.
Diffstat (limited to 'lisp/url')
-rw-r--r--lisp/url/ChangeLog2
-rw-r--r--lisp/url/url-http.el3
2 files changed, 3 insertions, 2 deletions
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog
index 720f682d22..37a635e990 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 <[email protected]>
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el
index 71de213b64..1c9c8c8a3d 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