Changeset 37430
- Timestamp:
- 05/13/2016 11:14:06 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/Requests/Transport/cURL.php
r37428 r37430 309 309 protected function setup_handle($url, $headers, $data, $options) { 310 310 $options['hooks']->dispatch('curl.before_request', array(&$this->handle)); 311 312 // Force closing the connection for old versions of cURL (<7.22). 313 if ( ! isset( $headers['Connection'] ) ) { 314 $headers['Connection'] = 'close'; 315 } 311 316 312 317 $headers = Requests::flatten($headers);
Note: See TracChangeset
for help on using the changeset viewer.