Bugfix: avoid bogus download size on start
Missed a default init of the HTTP repo download content size, so until the request response header was received, this could report a very large value.
This commit is contained in:
@@ -68,7 +68,7 @@ namespace simgear
|
|||||||
}
|
}
|
||||||
protected:
|
protected:
|
||||||
HTTPDirectory* _directory;
|
HTTPDirectory* _directory;
|
||||||
size_t _contentSize;
|
size_t _contentSize = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef SGSharedPtr<HTTPRepoGetRequest> RepoRequestPtr;
|
typedef SGSharedPtr<HTTPRepoGetRequest> RepoRequestPtr;
|
||||||
|
|||||||
Reference in New Issue
Block a user