View | Details | Raw Unified | Return to bug 113275
Collapse All | Expand All

(-)file_not_specified_in_diff (-1 / +10 lines)
Line  Link Here
0
-- src/media/MediaCurl.cc
0
++ src/media/MediaCurl.cc
Lines 125-130 Link Here
125
    return PMError( Error::E_curl_setopt_failed, _curlError );
125
    return PMError( Error::E_curl_setopt_failed, _curlError );
126
  }
126
  }
127
127
128
  if ( _url.protocol() == Url::http ) {
129
130
    // follow any Location: header that the server sends as part of an HTTP header
131
132
    ret = curl_easy_setopt ( _curl, CURLOPT_FOLLOWLOCATION, true );
133
    if ( ret != 0) {
134
      return PMError( Error::E_curl_setopt_failed, _curlError );
135
    }
136
  }
128
137
129
  if ( _url.protocol() == Url::https ) {
138
  if ( _url.protocol() == Url::https ) {
130
      WAR << "Disable certificate verification for https." << endl;
139
      WAR << "Disable certificate verification for https." << endl;

Return to bug 113275