Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

[Fix] http protocol options seekable=0 now finally works. #2644

Merged
merged 1 commit into from

1 participant

ulion
ulion
Collaborator

m_seekable=true should be put in front of ParseAndCorrectUrl(). fixed now.

ulion ulion merged commit bb79b32 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 22, 2013
  1. ulion
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  xbmc/filesystem/CurlFile.cpp
2  xbmc/filesystem/CurlFile.cpp
View
@@ -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);
Something went wrong with that request. Please try again.