Changeset 24303 for trunk/wp-includes/class-http.php
- Timestamp:
- 05/20/2013 12:10:58 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/class-http.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-http.php
r23609 r24303 763 763 } 764 764 } 765 765 766 766 if ( isset( $r['limit-response-size'] ) && ( $bytes_written + strlen( $block ) ) > $r['limit-response-size'] ) 767 767 $block = substr( $block, 0, ( $r['limit-response-size'] - $bytes_written ) ); 768 768 769 $bytes_written += fwrite( $stream_handle, $block ); 770 769 $bytes_written += fwrite( $stream_handle, $block ); 770 771 771 $keep_reading = !isset( $r['limit-response-size'] ) || $bytes_written < $r['limit-response-size']; 772 772 } … … 1848 1848 if ( function_exists( 'gzuncompress' ) ) 1849 1849 $type[] = 'compress;q=0.5'; 1850 1850 1851 1851 if ( function_exists( 'gzdecode' ) ) 1852 1852 $type[] = 'gzip;q=0.5';
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)