Skip to content

Commit

Permalink
MDL-39461 badges: Fix cURL expectation failed error when trying to co…
Browse files Browse the repository at this point in the history
…nnect to backpack
  • Loading branch information
Yuliya Bozhko committed Jul 22, 2013
1 parent 7aed82f commit aee7b75
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions badges/lib/backpacklib.php
Expand Up @@ -60,10 +60,11 @@ public function curl_request($action, $collection = null) {
}

$options = array(
'FRESH_CONNECT' => true,
'FRESH_CONNECT' => true,
'RETURNTRANSFER' => true,
'FORBID_REUSE' => true,
'HEADER' => 0,
'FORBID_REUSE' => true,
'HEADER' => 0,
'HTTPHEADER' => array('Expect:'),
'CONNECTTIMEOUT' => 3,
);

Expand Down

0 comments on commit aee7b75

Please sign in to comment.