Changeset 8584 for trunk/wp-includes/http.php
- Timestamp:
- 08/07/2008 10:57:16 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/http.php
r8583 r8584 872 872 if ( true === $r['blocking'] ) { 873 873 curl_setopt( $handle, CURLOPT_HEADER, true ); 874 curl_setopt( $handle, CURLOPT_RETURNTRANSFER, 1 ); 874 875 } else { 875 876 curl_setopt( $handle, CURLOPT_HEADER, false ); 876 877 curl_setopt( $handle, CURLOPT_NOBODY, true ); 878 curl_setopt( $handle, CURLOPT_RETURNTRANSFER, 0 ); 877 879 } 878 880 … … 895 897 896 898 if ( ! $r['blocking'] ) { 899 curl_exec( $handle ); 897 900 curl_close( $handle ); 898 901 return array( 'headers' => array(), 'body' => '', 'response' => array('code', 'message') );
Note: See TracChangeset
for help on using the changeset viewer.