mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-12-06 13:11:08 +01:00
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. |
||
|---|---|---|
| .. | ||
| src/main/java/org/jivesoftware/smack/bosh | ||
| build.gradle | ||