]> git.saurik.com Git - wxWidgets.git/commitdiff
use ReadLine() instead of GetLine() which sometimes hangs
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 29 Jul 2005 22:28:02 +0000 (22:28 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 29 Jul 2005 22:28:02 +0000 (22:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/http.cpp

index b2b5a42767942b523987632e6b02415f8ab76389..cc6ea854b9c82c904ae0b991464c170ad57f95eb 100644 (file)
@@ -154,7 +154,7 @@ bool wxHTTP::ParseHeaders()
     while (1)
 #endif
     {
-        m_perr = GetLine(this, line);
+        m_perr = ReadLine(this, line);
         if (m_perr != wxPROTO_NOERR)
             return false;
 
@@ -258,7 +258,7 @@ bool wxHTTP::BuildRequest(const wxString& path, wxHTTP_Req req)
     }
 
     wxString tmp_str;
-    m_perr = GetLine(this, tmp_str);
+    m_perr = ReadLine(this, tmp_str);
     if (m_perr != wxPROTO_NOERR) {
         RestoreState();
         return false;