[wp-trac] [WordPress Trac] #23310: WP_Http_Curl doesn't return errors for non-blocking requests

WordPress Trac noreply at wordpress.org
Mon Jan 28 16:14:01 UTC 2013


#23310: WP_Http_Curl doesn't return errors for non-blocking requests
----------------------------+------------------------------
 Reporter:  SergeyBiryukov  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  HTTP            |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+------------------------------

Comment (by SergeyBiryukov):

 [attachment:23310.patch] also closes the handle before returning from the
 function, which seems the correct thing to do, according to the example on
 http://php.net/manual/en/function.curl-error.php.

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


More information about the wp-trac mailing list