]> git.eshelyaron.com Git - emacs.git/commitdiff
(url-http-wait-for-headers-change-function): Revert previous
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 4 Oct 2010 19:34:35 +0000 (21:34 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 4 Oct 2010 19:34:35 +0000 (21:34 +0200)
change.  It lead to really slow loads.

lisp/url/ChangeLog
lisp/url/url-http.el

index 720f682d2251ee3d4bcb26996e5296a7b5ed2880..37a635e9906f392b23feb5a60138032f11ec0b56 100644 (file)
@@ -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>
 
index 71de213b64bc5e7e81b1aa2ca942e85781c9494d..1c9c8c8a3de5077a9cebf63af2f3a88953d9fd46 100644 (file)
@@ -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