projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9677a8f
)
Fix wxHTTPStream::Eof() to return true for empty HTTP resources.
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Sun, 24 Jan 2010 01:00:03 +0000
(
01:00
+0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Sun, 24 Jan 2010 01:00:03 +0000
(
01:00
+0000)
Eof() never returned true when attempting to read an empty resource before.
Closes #11596.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63238
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/common/http.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/common/http.cpp
b/src/common/http.cpp
index 82c5fc065b8a33e5fdbbd1591fe8f1807616ae41..873ac6db433e588ebccf2b181ca79d3940b144bb 100644
(file)
--- a/
src/common/http.cpp
+++ b/
src/common/http.cpp
@@
-430,7
+430,7
@@
protected:
size_t wxHTTPStream::OnSysRead(void *buffer, size_t bufsize)
{
- if (m_httpsize > 0 && m_read_bytes >= m_httpsize)
+ if (m_httpsize >
=
0 && m_read_bytes >= m_httpsize)
{
m_lasterror = wxSTREAM_EOF;
return 0;