[wp-trac] [WordPress Trac] #18738: Improving cron spawning and other non-blocking HTTP requests

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 24 08:54:11 UTC 2011


#18738: Improving cron spawning and other non-blocking HTTP requests
-------------------------+------------------------------
 Reporter:  johnbillion  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  HTTP         |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by dd32):

 >  If you call curl_multi_exec once then carry on, the handle will be
 killed by PHP during cleanup and you risk killing the handle before it's
 completed its request (eg. it might be in the middle of sending data).

 Yeah, It needs to be called a few times whilst it processes the connection
 request at least. with multi_exec I'd want a shutdown hook to finalise the
 connection.

 Pushing fsockopen to the start of the queue for non-blocking requests is a
 no-brainer short term, and probably better moved to the start longer term
 as well (for the simple fact that it's controlled by us - and as a result,
 has a few bugs of it's own.. but fixable ones).

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


More information about the wp-trac mailing list