Changeset 56554
- Timestamp:
- 09/11/2023 10:31:22 AM (13 months ago)
- Location:
- trunk/src/wp-includes/Requests/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/Requests/src/Requests.php
r55629 r56554 149 149 * @var string 150 150 */ 151 const VERSION = '2.0. 6';151 const VERSION = '2.0.8'; 152 152 153 153 /** -
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.