system/httptool: make timeouts flexible

Signed-off-by: M. Liebmann <git@tuxcode.de>


Origin commit data
------------------
Commit: f62a3ada8b
Author: FlatTV <FlatTV@gmx.de>
Date: 2016-09-07 (Wed, 07 Sep 2016)
This commit is contained in:
FlatTV
2016-09-07 14:58:40 +02:00
committed by Michael Liebmann
parent 3d79a4fe9c
commit 5ed6d94783
2 changed files with 8 additions and 8 deletions

View File

@@ -52,8 +52,8 @@ class CHTTPTool
CHTTPTool();
void setStatusViewer( CProgressWindow* statusview );
bool downloadFile( const std::string & URL, const char * const downloadTarget, int globalProgressEnd=-1 );
std::string downloadString(const std::string & URL, int globalProgressEnd=-1 );
bool downloadFile( const std::string & URL, const char * const downloadTarget, int globalProgressEnd=-1, int connecttimeout=10, int timeout=1800);
std::string downloadString(const std::string & URL, int globalProgressEnd=-1, int connecttimeout=10, int timeout=1800);
};