Ticket #2733: class-snoopy.php.diff

File class-snoopy.php.diff, 710 bytes (added by JeremyVisser, 6 years ago)

A patch for class-snoopy.php to make the requested changes

  • wp-includes/class-snoopy.php

     
    7878        var $error                      =       "";                                     // error messages sent here 
    7979        var     $response_code  =       "";                                     // response code returned from server 
    8080        var     $headers                =       array();                        // headers returned from server sent here 
    81         var     $maxlength              =       500000;                         // max return data length (body) 
     81        var     $maxlength              =       8192;                           // max return data length (body) 
    8282        var $read_timeout       =       0;                                      // timeout on read operations, in seconds 
    8383                                                                                                // supported only since PHP 4 Beta 4 
    8484                                                                                                // set to 0 to disallow timeouts