improvements to suppport mania exchange ssl support

This commit is contained in:
kremsy
2015-11-06 16:21:04 +01:00
parent f8dc43e517
commit 7dadba5a97
3 changed files with 14 additions and 2 deletions

View File

@ -49,7 +49,9 @@ class AsyncHttpRequest {
->set(CURLOPT_CRLF, true)// linux line feed
->set(CURLOPT_ENCODING, '')// accept encoding
->set(CURLOPT_USERAGENT, 'ManiaControl v' . ManiaControl::VERSION)// user-agent
->set(CURLOPT_RETURNTRANSFER, true); // return instead of output content
->set(CURLOPT_RETURNTRANSFER, true) //
->set(CURLOPT_FOLLOWLOCATION, true) // support redirect
->set(CURLOPT_SSL_VERIFYPEER, false);
return $request;
}