From f3d0213e5b79d503f73c67ef9b918a5a89ec45e9 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 29 Jul 2005 22:28:02 +0000 Subject: [PATCH] use ReadLine() instead of GetLine() which sometimes hangs git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/http.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/http.cpp b/src/common/http.cpp index b2b5a42767..cc6ea854b9 100644 --- a/src/common/http.cpp +++ b/src/common/http.cpp @@ -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;