Http: Don't set CURLOPT_TIMEOUT

This commit is contained in:
Vojtech Kral 2018-12-21 12:00:54 +01:00
parent 4a2c0722f7
commit 75cc0b07bb
2 changed files with 8 additions and 9 deletions

View file

@ -56,7 +56,7 @@ public:
Http& operator=(Http &&) = delete;
// Sets a maximum connection timeout in seconds
Http& timeout(long timeout);
Http& timeout_connect(long timeout);
// Sets a maximum size of the data that can be received.
// A value of zero sets the default limit, which is is 5MB.
Http& size_limit(size_t sizeLimit);