yangdajun / xmpphp

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

Disconnecting from OpenFire server #121

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Create an XMPPHP_XMPP connection
2.Try to disconnect from it
3.Maximum execution time error will appear

What version of the product are you using? On what operating system?
Using Windows 7 32bit.
Php 5.3.5
Running version 01.rc2-r77 of XMPPHP
OpenFire 3.7.1

It hangs when trying to get the end_stream event.
Here's a VerboseLevel log
-------------------------------
    ---more lines above---
1337481338 [VERBOSE]: Disconnecting...
1337481338 [VERBOSE]: Socket is ready; send it.
1337481338 [VERBOSE]: SENT: </stream:stream>
1337481338 [VERBOSE]: Successfully sent 16 bytes.
1337481338 [VERBOSE]: RECV: <
1337481338 [VERBOSE]: RECV: /stream:stream>
1337481338 [VERBOSE]: RECV:
1337481338 [VERBOSE]: RECV:
1337481338 [VERBOSE]: RECV:
    ---repeats same line forever---
--------------------------------

Original issue reported on code.google.com by chalo.in...@gmail.com on 20 May 2012 at 2:54

GoogleCodeExporter commented 8 years ago
It seems this solved the problem
http://code.google.com/p/xmpphp/issues/detail?id=57#c6

Original comment by chalo.in...@gmail.com on 20 May 2012 at 3:00