aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelupus <elupus@svn>2009-11-21 13:30:05 +0000
committerelupus <elupus@svn>2009-11-21 13:30:05 +0000
commit8c4d23b0055a17e8a0a5e8f3a582d4fc51eea3fc (patch)
tree31c26d3920b5a7c0bf9d8ebbdcaf560880591a29
parenta522b0b0a62691d922e94065bcbdbcb1e455674c (diff)
fixed: after first call to multi_perform libcurl doesn't have to have finished connecting
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@24828 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r--xbmc/FileSystem/FileCurl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/xbmc/FileSystem/FileCurl.cpp b/xbmc/FileSystem/FileCurl.cpp
index f87ec0876b..6a5d30424a 100644
--- a/xbmc/FileSystem/FileCurl.cpp
+++ b/xbmc/FileSystem/FileCurl.cpp
@@ -1156,7 +1156,8 @@ bool CFileCurl::CReadState::FillBuffer(unsigned int want)
}
// We've finished out first loop
- m_bFirstLoop=false;
+ if(m_bFirstLoop && m_buffer.GetMaxReadSize() > 0)
+ m_bFirstLoop = false;
switch (result)
{