(url-http-wait-for-headers-change-function): Revert previous
change. It lead to really slow loads.
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user