Gnomeshade
Gnomeshade copied to clipboard
Changing server address breaks current session, requires restart
Describe the bug Changing the server address after logging in has no effect, and requires a restart to apply.
To Reproduce Steps to reproduce the behavior:
- Open Gnomeshade, log in
- Go to 'Settings' and update the server address
- Log out
- Try to log in to the new server
- See that requests are sent to the old server
Expected behavior Either configuration changes are applied, or the user is notified that a restart is required.
The naive approach of just updating HttpClient.BaseAddress
on configuration change does not work, because it cannot be updated after a request is sent.