Changeset 35937
- Timestamp:
- 12/14/2015 11:40:55 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-http-curl.php
r35930 r35937 317 317 318 318 /** 319 * Grab the body of the cURL request 320 * 321 * The contents of the document are passed in chunks, so we append to the $body property for temporary storage. 322 * Returning a length shorter than the length of $data passed in will cause cURL to abort the request with CURLE_WRITE_ERROR 319 * Grabs the body of the cURL request. 320 * 321 * The contents of the document are passed in chunks, so we append to the `$body` 322 * property for temporary storage. Returning a length shorter than the length of 323 * `$data` passed in will cause cURL to abort the request with `CURLE_WRITE_ERROR`. 323 324 * 324 325 * @since 3.6.0 325 326 * @access private 326 * @return int 327 * 328 * @param resource $handle cURL handle. 329 * @param string $headers cURL request headers. 330 * @return int Total bytes of data written. 327 331 */ 328 332 private function stream_body( $handle, $data ) {
Note: See TracChangeset
for help on using the changeset viewer.