[wp-trac] [WordPress Trac] #13841: Some HTTP Transports do not respect transfer timeouts

WordPress Trac wp-trac at lists.automattic.com
Sat Mar 26 04:14:16 UTC 2011


#13841: Some HTTP Transports do not respect transfer timeouts
--------------------------+------------------
 Reporter:  sivel         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.2
Component:  HTTP          |     Version:  3.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by dd32):

 I'm finding that both fsockopen and Streams ignore the timeouts, as well
 as curl in some cases

 fsockopen: By adding the usage of `stream_get_meta_data()` I'm questioning
 it's compatibility, the Streams class should generally be used in
 preference to this to start wtih, so the compatibility I'm questioning is
 systems where Streams is not available and it ultimately falls back to
 FSockopen.

 streams: the /2 does indeed seem to work as advertised, passing 4 in
 causes it to timeout after ~8s, with /2 it times out ~4seconds in.

 curl: seems to have problems with file streaming and timeouts

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


More information about the wp-trac mailing list