Files from the SDK generator now give up on a reply that stops coming for 15 seconds, even halfway through, and count it as no reply at all. Until now the JavaScript file had no time limit of its own, and the Java, Kotlin and Dart files limited only the wait for the start of a reply, so a fake server or a proxy that held a check-in back could keep a banned copy running. Download your file again from SDK generator in the panel and rebuild. The new file says PWF Auth SDK v2.5 at the top, and files from older versions keep working
- Every request gets 15 seconds for its whole reply. A reply that stalls, even after its first bytes, is dropped and its connection closed
- A check-in that runs out of time counts as one without an answer, and three in a row close the session with
NETWORK_LOST, as when the server cannot be reached - A request that ran out of time is not sent again. Your program gets the language's own timeout error:
TimeoutErrorin Node.js,HttpTimeoutExceptionin Java and Kotlin,TimeoutExceptionin Dart - The C#, VB.NET, Python, PHP, C++, Android and Delphi files already had a limit of 15 seconds and work as before
- Since 2.4 the file also refuses a reply larger than 4 MB, or 24 MB for a protected file, before it checks the signature, so a reply forged on the way cannot fill your program's memory