diff options
author | Chris Wilson <chris+github@qwirx.com> | 2015-08-29 10:40:51 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2015-08-29 10:40:51 +0000 |
commit | f7403ff92f6e3dd4464ddca5b305163ef93d862d (patch) | |
tree | 0ceea4724c78e7be81dd79c1dcfa084dfda90598 /lib/httpserver | |
parent | 4822b1e6ee853328a32551ec69d97573f2ea371e (diff) |
Set network timeout in S3Client.
To give the S3Simulator a chance to respond.
Diffstat (limited to 'lib/httpserver')
-rw-r--r-- | lib/httpserver/S3Client.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/httpserver/S3Client.h b/lib/httpserver/S3Client.h index 3681213b..4cbb4b96 100644 --- a/lib/httpserver/S3Client.h +++ b/lib/httpserver/S3Client.h @@ -46,7 +46,8 @@ class S3Client mHostName(HostName), mPort(Port), mAccessKey(rAccessKey), - mSecretKey(rSecretKey) + mSecretKey(rSecretKey), + mNetworkTimeout(30000) { } HTTPResponse GetObject(const std::string& rObjectURI); |