system/httptool: make timeouts flexible

Signed-off-by: M. Liebmann <git@tuxcode.de>
This commit is contained in:
FlatTV
2016-09-07 14:58:40 +02:00
committed by M. Liebmann
parent 4c8de6960e
commit f62a3ada8b
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);
};