1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2025-09-09 18:29:45 +02:00

Merge branch '4.0'

Conflicts:
	build.gradle
	smack-tcp/src/main/java/org/jivesoftware/smack/tcp/PacketReader.java
This commit is contained in:
Florian Schmaus 2014-10-22 22:20:26 +02:00
commit 177ab983d4
3 changed files with 16 additions and 1 deletions

View file

@ -1032,6 +1032,10 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
if (callback != null) {
callback.handleUnparsablePacket(message);
}
// The parser is now at the end tag of the unparsable stanza. We need to advance to the next
// start tag in order to avoid an exception which would again lead to the execution of the
// catch block becoming effectively an endless loop.
eventType = parser.next();
continue;
} finally {
clientHandledStanzasCount = SMUtils.incrementHeight(clientHandledStanzasCount);