Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

[core] Fix regression of prior expiration time not being respected - #4368

Merged
tmpsantos merged 2 commits into
masterfrom
tmpsantos-existing_expire
Mar 18, 2016
Merged

tmpsantos merged 2 commits into
masterfrom
tmpsantos-existing_expire

Conversation

@tmpsantos

Copy link
Copy Markdown
Contributor

Regression introduced by 59a45b8.

tmpsantos referenced this pull request Mar 17, 2016
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.
@tmpsantos

Copy link
Copy Markdown
Contributor Author

/cc @jfirebaugh

@jfirebaugh

Copy link
Copy Markdown
Contributor

👍

I think we should cherry pick this to the release branch too.

@tmpsantos
tmpsantos force-pushed the tmpsantos-existing_expire branch from a42ecdf to 0e201eb Compare March 18, 2016 02:57
@tmpsantos
tmpsantos merged commit 0e201eb into master Mar 18, 2016
@tmpsantos
tmpsantos deleted the tmpsantos-existing_expire branch March 18, 2016 03:05
@1ec5

1ec5 commented Mar 29, 2016

Copy link
Copy Markdown
Contributor

This was cherry-picked into the release-ios-3.2.0-android-4.0.0 branch as 115a5d1.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants