Skip to content

Commit 195467f

Browse files
OskarStarkAyesh
authored andcommitted
[ext-curl] Add \CURLOPT_INFILESIZE_LARGE
This is my first PR on this repository and is based on: * https://github.com/symfony/symfony/pull/59654/files#r1935358570 So feel free to close it :-)
1 parent c20b429 commit 195467f

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

ext/curl/curl.stub.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,11 @@
188188
* @cvalue CURLOPT_INFILESIZE
189189
*/
190190
const CURLOPT_INFILESIZE = UNKNOWN;
191+
/**
192+
* @var int
193+
* @cvalue CURLOPT_INFILESIZE_LARGE
194+
*/
195+
const CURLOPT_INFILESIZE_LARGE = UNKNOWN;
191196
/**
192197
* @var int
193198
* @cvalue CURLOPT_INTERFACE

ext/curl/curl_arginfo.h

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ext/curl/interface.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2244,6 +2244,7 @@ static zend_result _php_curl_setopt(php_curl *ch, zend_long option, zval *zvalue
22442244
break;
22452245

22462246
/* Curl off_t options */
2247+
case CURLOPT_INFILESIZE_LARGE:
22472248
case CURLOPT_MAX_RECV_SPEED_LARGE:
22482249
case CURLOPT_MAX_SEND_SPEED_LARGE:
22492250
case CURLOPT_MAXFILESIZE_LARGE:

0 commit comments

Comments
 (0)