1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-22 14:22:05 +01:00
Smack/smack-bosh/src/main/java/org/jivesoftware/smack/bosh
Florian Schmaus 8511a9e67b Fix deadline check
The pattern

if (now > deadline) break;
wait(deadline - now);

is insufficient in case "now == deadline" because the result would be
wait() being called with 0, which would mean "wait until
notified". Thus, the timeout would become infinite.
2016-12-19 16:29:16 +01:00
..
BOSHConfiguration.java Rework Proxy API 2015-07-17 08:50:19 +02:00
package-info.java Add JavadocPackage checkstyle 2015-04-04 17:16:47 +02:00
XMPPBOSHConnection.java Fix deadline check 2016-12-19 16:29:16 +01:00