* Removed CURLOPT_FOLLOWLOCATION and CURLOPT_MAXREDIRS (see #5)

This commit is contained in:
RobThree
2016-06-20 23:14:36 +02:00
parent 7d7b4ddcba
commit 3484cdd992
@@ -12,8 +12,6 @@ abstract class BaseHTTPQRCodeProvider implements IQRCodeProvider
curl_setopt_array($curlhandle, array(
CURLOPT_URL => $url,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_MAXREDIRS => 3,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CONNECTTIMEOUT => 10,
CURLOPT_DNS_CACHE_TIMEOUT => 10,