mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 02:11:11 +02:00
system/httptool: make timeouts flexible
Signed-off-by: M. Liebmann <git@tuxcode.de>
This commit is contained in:
@@ -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);
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user