[wp-hackers] Questions on execute-pings.php...

David Chait davebytes at comcast.net
Mon Apr 24 20:12:43 GMT 2006

Someone correct me if I'm wrong... the 'include' would work within the 
current thread, thus affecting the user response if something takes a while. 
using a socket effectively spawns it off on another thread, another context, 
without affecting the current session.

At least, that's what I seem to recall... ;)


----- Original Message ----- 
From: "Angsuman Chakraborty" <angsuman at taragana.com>
To: <wp-hackers at lists.automattic.com>
Sent: Monday, April 24, 2006 2:36 PM
Subject: [wp-hackers] Questions on execute-pings.php...


I don't understand why the query in the while loop which check for _pingme 
rows doesn't check if the post is really ready to be pingbacked or 
trackbacked (at least post_date < current time).

Also I am trying to understand the real reason behind calling this code via 
a socket connection (instead of including it). is it merely in the hope that 
due to the small timeout sometimes it will fail thereby achieving the 
asynchronicity on pinback and trackback?

Can anyone please clarify.


wp-hackers mailing list
wp-hackers at lists.automattic.com

More information about the wp-hackers mailing list