diff --git a/CMakeLists.txt b/CMakeLists.txt index 68a3c1f..9e1e6f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 3.7) project (expandurl-mastodon - VERSION 0.9.11 + VERSION 0.9.12 LANGUAGES CXX ) diff --git a/src/url.cpp b/src/url.cpp index 205dfba..a1832f0 100644 --- a/src/url.cpp +++ b/src/url.cpp @@ -65,6 +65,7 @@ const string expand(const string &url) "Connection: close", }); request.setOpt(true); + request.setOpt(curlopts::Timeout(30)); try {