Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Commit 55a086d

Browse files
committed
[zendframework/zendframework#1220] Add curl opts to adapter
- Added CURLOPT_INFILESIZE to adapter config to fix error in tests
1 parent d976b4b commit 55a086d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/Client/CurlTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@ class CurlTest extends CommonHttpTests
5353
* @var array
5454
*/
5555
protected $config = array(
56-
'adapter' => 'Zend\Http\Client\Adapter\Curl'
56+
'adapter' => 'Zend\Http\Client\Adapter\Curl',
57+
'curloptions' => array(
58+
CURLOPT_INFILESIZE => 102400000,
59+
),
5760
);
5861

5962
protected function setUp()

0 commit comments

Comments
 (0)