[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:17:52 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:                |
--------------------------+-----------------------------
Changes (by simonwheatley):

 * cc: simon@… (added)


Comment:

 Replying to [comment:11 sivel]:
 >
 > A proof of concept patch will follow in a few seconds.

 I've tested this patch, and it's working for me. (Hit the issue with a
 gov.uk API today.)

 I'll work up an alternative which follows DD32's suggestions re handling
 redirects in WP rather than with `CURLOPT_FOLLOWLOCATION`,

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


More information about the wp-trac mailing list