Changeset 52966
- Timestamp:
- 03/20/2022 04:22:57 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-http-curl.php
r52965 r52966 269 269 270 270 // If an error occurred, or, no response. 271 if ( $curl_error || ( 0 == strlen( $body ) && empty( $processed_headers['headers'] ) ) ) {272 if ( CURLE_WRITE_ERROR /* 23 */ == $curl_error ) {273 if ( ! $this->max_body_length || $this->max_body_length != $bytes_written_total ) {271 if ( $curl_error || ( 0 === strlen( $body ) && empty( $processed_headers['headers'] ) ) ) { 272 if ( CURLE_WRITE_ERROR /* 23 */ === $curl_error ) { 273 if ( ! $this->max_body_length || $this->max_body_length !== $bytes_written_total ) { 274 274 if ( $parsed_args['stream'] ) { 275 275 curl_close( $handle );
Note: See TracChangeset
for help on using the changeset viewer.