Make WordPress Core

Ticket #8347: stream_set_blocking.diff

File stream_set_blocking.diff, 435 bytes (added by ryan, 17 years ago)
  • wp-includes/http.php

     
    786786                stream_set_timeout($handle, $r['timeout'] );
    787787
    788788                if ( ! $r['blocking'] ) {
     789                        stream_set_blocking($handle, 0);
    789790                        fclose($handle);
    790791                        return array( 'headers' => array(), 'body' => '', 'response' => array('code', 'message') );
    791792                }