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

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 31 07:16:42 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 hakre):

 Replying to [comment:15 dd32]:
 > 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.

 Thanks for looking into this, I think this is really an interesting point
 worth to look more into. I've seen that it's made use of
 stream_set_timeout() in parallel just some lines later on. I started to
 review it (re-wrote those three lines as I found the calculation somewhat
 complicated, see example in patch) but could not finish so far. I'll try
 to test in isolation to find out if it's intended or a side-effect.

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


More information about the wp-trac mailing list