mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cloudstorage: try alternative server if first connection fails
If we can't reach our preferred server, try using a different one. The diff makes more sense when ignoring white space. With this we check the connection to the cloud server much earlier and in case of failure to connect try a different cloud_base_url. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
fe074ccad1
commit
766f297bc4
4 changed files with 84 additions and 36 deletions
|
|
@ -14,6 +14,7 @@ public:
|
|||
void pickServer();
|
||||
private:
|
||||
QNetworkReply *reply;
|
||||
bool nextServer();
|
||||
private
|
||||
slots:
|
||||
void sslErrors(const QList<QSslError> &errorList);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue