[wp-trac] [WordPress Trac] #11565: http.php rev 12425 Timeouts

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 22 20:39:50 UTC 2009


#11565: http.php rev 12425 Timeouts
------------------------------+---------------------------------------------
 Reporter:  solariz           |       Owner:  ryan                            
     Type:  defect (bug)      |      Status:  new                             
 Priority:  normal            |   Milestone:  Unassigned                      
Component:  Pings/Trackbacks  |     Version:  2.9                             
 Severity:  normal            |    Keywords:  timout , pingback , ceil , floor
------------------------------+---------------------------------------------
 In the rev change 12425 / 12424 some handling for float timeouts was
 submitted. Some ppl. reporting for pingbacks not coming through on some
 systems. I noticed a discussion at the php.net comments about the
 stream_set_timeout function:

 If you are using fsockopen() to create a connection, first going to write
 into the stream and then waiting for the reply (e.g. simulating HTTP
 request with some extra headers), then stream_set_timeout() must be set
 only after the write - if it is before write, it has no effect on the read
 timeout.

 Maybe for a safety reason a null packet should be sent and
 stream_set_timeout added to avoid this as a problem source.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11565>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list