diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2016-02-23 18:37:45 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <thiago@mapbox.com> | 2016-02-26 03:52:02 +0200 |
commit | 59a45b8400c1c07b3163c2274b0b59115cc23351 (patch) | |
tree | 1f5e8bd9e4aeb54e92a9a6f169f8787f2cb70ce6 /test | |
parent | c20b99f9a40b8b8632c34d67a1da104799506fe8 (diff) | |
download | qtlocation-mapboxgl-59a45b8400c1c07b3163c2274b0b59115cc23351.tar.gz |
[core] Add timeout for clock skew
If the server keeps sending replies considered from the client in the
past (there is no way to tell if the server or client clock is wrong),
the client will try to interpolate a valid expiration time based
on the delta of the expiration intervals sent by the server.
If the intervals are always the same, exponential backoff kicks in
until we get a different expiration time from what we already have.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions