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:
parent
5cd250e452
commit
ab1d4e651e
@ -68,7 +68,7 @@ namespace simgear
|
||||
}
|
||||
protected:
|
||||
HTTPDirectory* _directory;
|
||||
size_t _contentSize;
|
||||
size_t _contentSize = 0;
|
||||
};
|
||||
|
||||
typedef SGSharedPtr<HTTPRepoGetRequest> RepoRequestPtr;
|
||||
|
Loading…
Reference in New Issue
Block a user