Changeset 47122 for trunk/src/wp-includes/class-wp-http-streams.php
- Timestamp:
- 01/29/2020 12:43:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-http-streams.php
r45932 r47122 66 66 } 67 67 68 // Always pass a Path, defaulting to the root in cases such as http://example.com68 // Always pass a path, defaulting to the root in cases such as http://example.com. 69 69 if ( ! isset( $arrURL['path'] ) ) { 70 70 $arrURL['path'] = '/'; … … 115 115 'ssl' => array( 116 116 'verify_peer' => $ssl_verify, 117 // 'CN_match' => $arrURL['host'], // This is handled by self::verify_ssl_certificate()117 // 'CN_match' => $arrURL['host'], // This is handled by self::verify_ssl_certificate(). 118 118 'capture_peer_cert' => $ssl_verify, 119 119 'SNI_enabled' => true, … … 135 135 136 136 if ( ! WP_DEBUG ) { 137 // In the event that the SSL connection fails, silence the many PHP Warnings.137 // In the event that the SSL connection fails, silence the many PHP warnings. 138 138 if ( $secure_transport ) { 139 139 $error_reporting = error_reporting( 0 ); … … 177 177 stream_set_timeout( $handle, $timeout, $utimeout ); 178 178 179 if ( $proxy->is_enabled() && $proxy->send_through_proxy( $url ) ) { // Some proxies require full URL in this field.179 if ( $proxy->is_enabled() && $proxy->send_through_proxy( $url ) ) { // Some proxies require full URL in this field. 180 180 $requestPath = $url; 181 181 } else {
Note: See TracChangeset
for help on using the changeset viewer.