Page MenuHomePhabricator

[lib] Stop attempting recovery when client version unsupported
ClosedPublic

Authored by inka on Thu, Apr 11, 5:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 20, 11:13 AM
Unknown Object (File)
Thu, Apr 18, 2:51 PM
Unknown Object (File)
Tue, Apr 16, 10:00 AM
Unknown Object (File)
Thu, Apr 11, 12:46 PM
Unknown Object (File)
Thu, Apr 11, 12:44 PM
Subscribers

Details

Summary

issue: ENG-6125
If the client got client_version_unsupported, a recovery will not help them, so we should skip it. We should just set the session change sent by the server, and a connectionIssue so that other places in the code know what the problem was.

Test Plan

Tested that if the auth keyserver sends client_version_unsupported, then the user is logged out. Checked that a connectionIssue was set, and that triggered the logout.
I tested in the multikeyserver setup, that if the second keyserver sends client_version_unsupported, then the client is not logged out, and a popup shows up. For now, this results in the screen being spammed with popups, because ENG-5913 was not implemented yet (only in case of the secondary keyserver).

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable