diff options
author | AnotherTest <ali.mpfard@gmail.com> | 2020-07-21 05:39:14 +0430 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-07-21 13:01:35 +0200 |
commit | 4065182811830391fc22fd443267de737c4d444e (patch) | |
tree | 5920b6b64b32389e48dcce91e84c04774ee12feb /AK/FixedArray.h | |
parent | be5f42adea1a75db6e6fdf49e9e4c6c9992d7c6d (diff) | |
download | serenity-4065182811830391fc22fd443267de737c4d444e.zip |
LibTLS: Reschedule the timeout if we're too slow
Previously, we would not care if the handshake timer timed out because
the server was too slow, or because we were too slow, this caused
connections to fail when the system was under heavy load.
This patch fixes this behaviour (and closes #2843) by checking if the
timeout delay was within margin of error of the max timeout.
Diffstat (limited to 'AK/FixedArray.h')
0 files changed, 0 insertions, 0 deletions