[wp-hackers] When a ping is sent ?
Andy Skelton
skeltoac at gmail.com
Sat Dec 17 19:07:51 GMT 2005
On 12/17/05, David Chait <davebytes at comcast.net> wrote:
> How exactly are you running it asynchronously? Obviously, wouldn't ever
> want an administrative function (pinging from a post) impacting a >reader<,
> when the time CAN be spent by the >writer<... if/when it's a synchronous
> event. :)
Neither is impacted. In the new function spawn_pinger(), we use
fsockopen to start a new thread via HTTP. AFAIK it's the only
platform-independent way to do this without involving the user agent.
If you are concerned that some hosts block fsockopen, don't worry:
pings and trackbacks depend on the exact same function. If
spawn_pinger() fails, execute-pings.php wouldn't have worked anyway.
Andy
More information about the wp-hackers
mailing list