Skip to content

Commit 7510627

Browse files
ext/curl: bump minimum libcurl version to 7.61.1
The minimum was raised to 7.61.0 in GH-13259 to track RHEL 8, but RHEL 8 and its rebuilds (Rocky, Alma, EL 8) ship libcurl 7.61.1 and have since the original 8.0 GA in May 2019; the plain 7.61.0 point release is not carried by any supported distribution. This aligns the floor with the baseline it already targets. 7.61.1 also contains the upstream fix (curl/curl@d6cf930) for libcurl returning success without a response when an upload rewind was required but could not be performed; from 7.61.1 that case is reported as CURLE_SEND_FAIL_REWIND instead.
1 parent 95b5b48 commit 7510627

4 files changed

Lines changed: 8 additions & 2 deletions

File tree

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ PHP NEWS
2525
- BCMath:
2626
. Added NUL-byte validation to BCMath functions. (jorgsowa)
2727

28+
- Curl:
29+
. Bumped required libcurl version to 7.61.1. (GrahamCampbell)
30+
2831
- Date:
2932
. Update timelib to 2022.16. (Derick)
3033

UPGRADING

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,9 @@ PHP 8.6 UPGRADE NOTES
357357
9. Other Changes to Extensions
358358
========================================
359359

360+
- Curl:
361+
. The Curl extension now requires at least libcurl 7.61.1.
362+
360363
- Hash:
361364
. The bundled version of xxHash was upgraded to 0.8.2.
362365

ext/curl/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ PHP_ARG_WITH([curl],
44
[Include cURL support])])
55

66
if test "$PHP_CURL" != "no"; then
7-
PKG_CHECK_MODULES([CURL], [libcurl >= 7.61.0])
7+
PKG_CHECK_MODULES([CURL], [libcurl >= 7.61.1])
88
PKG_CHECK_VAR([CURL_FEATURES], [libcurl], [supported_features])
99

1010
PHP_EVAL_LIBLINE([$CURL_LIBS], [CURL_SHARED_LIBADD])

ext/curl/sync-constants.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
const SOURCE_FILE = __DIR__ . '/curl_arginfo.h';
1414

15-
const MIN_SUPPORTED_CURL_VERSION = '7.61.0';
15+
const MIN_SUPPORTED_CURL_VERSION = '7.61.1';
1616

1717
const IGNORED_CURL_CONSTANTS = [
1818
'CURLOPT_PROGRESSDATA',

0 commit comments

Comments
 (0)