don't throw IO exception at end of stream
This commit is contained in:
parent
91b17c6925
commit
5786e75374
|
@ -560,7 +560,6 @@ public class XmppConnection implements Runnable {
|
|||
}
|
||||
nextTag = tagReader.readTag();
|
||||
}
|
||||
throw new IOException("reached end of stream. last tag was "+nextTag);
|
||||
}
|
||||
|
||||
private void acknowledgeStanzaUpTo(int serverCount) {
|
||||
|
|
Loading…
Reference in New Issue