[wp-trac] [WordPress Trac] #25738: WP_HTTP uses transports that incorrectly claim to support a request

WordPress Trac noreply at wordpress.org
Sat Nov 16 00:49:57 UTC 2013


#25738: WP_HTTP uses transports that incorrectly claim to support a request
--------------------------+------------------
 Reporter:  dd32          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.8
Component:  HTTP          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------

Comment (by dd32):

 I have been considering for a while of changing the order to Streams first
 for all connections.
 Streams also has the benefit that it's supposably better at non-blocking
 connections (well, it doesn't block the connection for long..).
 It may also mean that we start getting more bug reports for it, and we
 realise it's not as reliable as we previously believed (although I find
 this unlikely).

 Changing the order has implications elsewhere though, as a result, I
 wouldn't want to change the order unless we also added a parameter to try
 both transports before failing (ie. for Update-related stuff), which I
 think would be good regardless.

 We have a hard-coded order at present, in the past it was a hard-coded
 order based on blocking/non-blocking, we can easily add ordering based on
 a priority test or some such.

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


More information about the wp-trac mailing list