[wp-trac] [WordPress Trac] #17490: cURL fails with timeout when posting to a location that redirects

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 8 18:30:33 UTC 2012


#17490: cURL fails with timeout when posting to a location that redirects
---------------------------+-----------------------------
 Reporter:  simsmaster     |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Future Release
Component:  HTTP           |     Version:  3.2
 Severity:  normal         |  Resolution:
 Keywords:  needs-testing  |
---------------------------+-----------------------------
Changes (by simonwheatley):

 * keywords:   => needs-testing


Comment:

 Here's a patch which has WP handling the redirections in all cases, rather
 than using `CURLOPT_FOLLOWLOCATION`.

 I'm specifying `CURLOPT_MAXREDIRS` as 0, is this too cautious given
 `CURLOPT_FOLLOWLOCATION` is `false`?

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


More information about the wp-trac mailing list