Permalink
Browse files

Merge pull request #2644 from ulion/fix_seekable_protocol_option

[Fix] http protocol options seekable=0 now finally works.
  • Loading branch information...
ulion committed Apr 22, 2013
2 parents 217532d + 2d3ba32 commit bb79b32b87c4324208b8d5e4953cbe7522fb6554
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/filesystem/CurlFile.cpp
@@ -884,6 +884,7 @@ void CCurlFile::Reset()
bool CCurlFile::Open(const CURL& url)
{
m_opened = true;
+ m_seekable = true;
CURL url2(url);
ParseAndCorrectUrl(url2);
@@ -894,7 +895,6 @@ bool CCurlFile::Open(const CURL& url)
if( m_state->m_easyHandle == NULL )
g_curlInterface.easy_aquire(url2.GetProtocol(), url2.GetHostName(), &m_state->m_easyHandle, &m_state->m_multiHandle );
- m_seekable = true;
// setup common curl options
SetCommonOptions(m_state);
SetRequestHeaders(m_state);

0 comments on commit bb79b32

Please sign in to comment.