amitmmc1 / xmpphp

Automatically exported from code.google.com/p/xmpphp
0 stars 0 forks source link

does connection->processUntil is a blocking call? #125

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I have used the following php code in order to achieve XMPP communication, 

$conn = new XMPPHP_XMPP("SERVER_NAME", 5222, 'username', 'password', 'xmpphp', 
'example.com', $printlog=false, $loglevel=XMPPHP_Log::LEVEL_INFO);

try {
     $conn->connect();
     $conn->processUntil('session_start');
       .
       .
       .
So here my question is does this processUntill is a blocking call,Since it 
almost takes 100% of my CPU.

Any help will be highly appreciated.

Best Regards,
~Anup Rojekar

Original issue reported on code.google.com by nproje...@gmail.com on 16 Aug 2012 at 9:55