From a1b20642eea8b42b72dc1ee8611315f999dea02e Mon Sep 17 00:00:00 2001 From: niansa Date: Thu, 13 Apr 2023 10:11:13 +0200 Subject: [PATCH] Lowered timeout --- common.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/common.cpp b/common.cpp index cbea0f8..d2c33cf 100644 --- a/common.cpp +++ b/common.cpp @@ -42,6 +42,7 @@ bool is_domain_blocked(const char *hostname) { curlpp::Easy req; req.setOpt(std::string("http://")+hostname); req.setOpt(true); + req.setOpt(6); req.perform(); // Get status code