[wp-trac] [WordPress Trac] #17490: HTTP API fails with timeout, if POST-Headers are present
WordPress Trac
wp-trac at lists.automattic.com
Thu May 19 19:03:42 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: |
--------------------------+------------------------------
Changes (by simsmaster):
* keywords: reporter-feedback =>
Comment:
Ok, i've done some research:
First, my code:
{{{
$post_data['tip'] = 'adfadf';
$fetch_url = 'http://mantisbt.org/bugs/login.php';
$response = wp_remote_post($fetch_url, array('body' => $post_data));
fb($response); //FirePHP
die();
}}}
This produces the timeout error, if $post_data isn't empty. But the
interesting thing: It works well, with '''every non-Mantis URL'''.
This ''might'' be a bug in MantisBT itself. You can try it with the URL
above, it the same behaviour as with my own Mantis Installation.
I found this in the apache error log: (70014)End of file found: mod_fcgid:
can't get data from http client
Since Mantis uses POST for login, too, it looks like a WP Bug for me...
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17490#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list