[wp-trac] [WordPress Trac] #11428: class WP_Http_ExtHTTP

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 19 12:50:44 UTC 2009


#11428: class WP_Http_ExtHTTP
--------------------------+-------------------------------------------------
 Reporter:  arena         |       Owner:  dd32             
     Type:  defect (bug)  |      Status:  new              
 Priority:  high          |   Milestone:  Future Release   
Component:  HTTP          |     Version:                   
 Severity:  major         |    Keywords:  reporter-feedback
--------------------------+-------------------------------------------------

Comment(by arena):

 Well the example with 'wp-cron' seems to be irrelevant.

 see attached file with 3 relevant urls :

 *
 http://www.e24.fr/hightech/?xtdate=12/14/09&service=rss&includeImages=true&endLoop=true
 * http://www.lemonde.fr/rss/sequence/0,2-651865,1-0,0.xml
 * http://feediz.01net.com/synd/2203.xml

 giving
     [error] => Operation timed out after 1 seconds with 0 bytes
 received

 and having a correct response

 see attached file result of following hack in http.php :

 {{{
                 // Error may still be set, Response may return headers or
 partial document, and error
                 // contains a reason the request was aborted, eg, timeout
 expired or max-redirects reached.
 print_r($info);
 echo $strResponse;
                 if ( false === $strResponse || ! empty($info['error']) )

 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11428#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list