1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2025-09-10 10:49:41 +02:00

Use connection specific reply timeout value

instead of the global default one.
This commit is contained in:
Florian Schmaus 2014-04-23 09:49:05 +02:00
parent 439f4cd291
commit 069e7d7e60
4 changed files with 5 additions and 10 deletions

View file

@ -793,7 +793,7 @@ public class XMPPTCPConnection extends XMPPConnection {
// Wait until compression is being used or a timeout happened
synchronized (this) {
try {
this.wait(SmackConfiguration.getDefaultPacketReplyTimeout() * 5);
wait(getPacketReplyTimeout());
}
catch (InterruptedException e) {
// Ignore.