[wp-trac] [WordPress Trac] #17490: HTTP API fails with timeout, if POST-Headers are present

WordPress Trac wp-trac at lists.automattic.com
Mon May 23 15:49:32 UTC 2011


#17490: HTTP API fails with timeout, if POST-Headers are present
--------------------------+------------------------------
 Reporter:  simsmaster    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  HTTP          |     Version:  3.2
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by simsmaster):

 I installed you plugin, but the "External HTTP Access" Module produces
 just a fatal error:

 '''Fatal error:''' ''Call to undefined method WP_Http::_getTransport() in
 \wp-content\plugins\core-control\modules\core_control_http.php on line
 79''

 This method does not exists...

 ----

 But I logged the transports in class-http.php, and curl was used. If I
 disable curl (function test() return false;) streams is used, and there is
 no timeout anymore, but the login to mantis failed. The page returned is
 just the login page with a error message. Maybe streams has a problem
 handling cookies...

 If I disable streams, fsockopen is used, but it can't login either...

 When the timeout is increased to 30sec, curl fetches a Error 500 page, the
 other transports the login page as described above...

 And here are the cURL infos:

 {{{
 cURL support    enabled
 cURL Information        7.19.6
 Age     3
 Features
 AsynchDNS       No
 Debug   No
 GSS-Negotiate   No
 IDN     Yes
 IPv6    No
 Largefile       Yes
 NTLM    Yes
 SPNEGO  No
 SSL     Yes
 SSPI    No
 krb4    No
 libz    Yes
 CharConv        No
 Protocols       tftp, ftp, telnet, dict, ldap, ldaps, http, file, https,
 ftps
 Host    i686-pc-mingw32
 SSL Version     OpenSSL/0.9.8l
 ZLib Version    1.2.3
 }}}

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


More information about the wp-trac mailing list