Feature/torrent removal (#630)

* Remove torrent-based synchronization downloads
 * Add download URL to error message if HTTPSynchronization download fails
 * Add a grace factor to the distance conversion
 * Don't use scientific notation when displaying distances
This commit is contained in:
Alexander Bock
2018-06-23 22:20:03 -04:00
committed by GitHub
parent 48b8ac7413
commit 0f5fd2c4bc
86 changed files with 1186 additions and 1231 deletions

View File

@@ -108,6 +108,8 @@ public:
void perform(RequestOptions opt);
const std::string& url() const;
private:
void setReadyState(ReadyState state);
@@ -171,6 +173,8 @@ public:
virtual ~SyncHttpDownload() = default;
void download(HttpRequest::RequestOptions opt);
const std::string& url() const;
protected:
HttpRequest _httpRequest;
};
@@ -184,6 +188,8 @@ public:
void cancel();
void wait();
const std::string& url() const;
protected:
void download(HttpRequest::RequestOptions opt);