Changeset 56554 for trunk/src/wp-includes/Requests/src/Transport/Curl.php
- Timestamp:
- 09/11/2023 10:31:22 AM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/Requests/src/Transport/Curl.php
r55629 r56554 26 26 const CURL_7_10_5 = 0x070A05; 27 27 const CURL_7_16_2 = 0x071002; 28 const CURL_7_22_0 = 0x071600; 28 29 29 30 /** … … 364 365 365 366 // Force closing the connection for old versions of cURL (<7.22). 366 if ( !isset($headers['Connection'])) {367 if ($this->version < self::CURL_7_22_0 && !isset($headers['Connection'])) { 367 368 $headers['Connection'] = 'close'; 368 369 }
Note: See TracChangeset
for help on using the changeset viewer.