Skip to content

Commit

Permalink
* Removed CURLOPT_FOLLOWLOCATION and CURLOPT_MAXREDIRS (see #5)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobThree committed Jun 20, 2016
1 parent 7d7b4dd commit 3484cdd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/Providers/Qr/BaseHTTPQRCodeProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ protected function getContent($url)

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,
Expand Down

0 comments on commit 3484cdd

Please sign in to comment.