mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 17:19:39 +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:
commit
177ab983d4
3 changed files with 16 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue