aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include/net/http_client.h
diff options
context:
space:
mode:
authorJeffrey <jeffryan@tamu.edu>2022-04-22 14:32:56 -0500
committerJeffrey <jeffryan@tamu.edu>2022-04-22 14:32:56 -0500
commitf7d50cbaa8704573500d349d0bceef366075c21d (patch)
tree92f4ce45de78559a5fcf4a591c0ebc35c9877a06 /contrib/epee/include/net/http_client.h
parentMerge pull request #8254 (diff)
downloadmonero-f7d50cbaa8704573500d349d0bceef366075c21d.tar.xz
EPEE: Remove gzip_encoding.h
Diffstat (limited to '')
-rw-r--r--contrib/epee/include/net/http_client.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/contrib/epee/include/net/http_client.h b/contrib/epee/include/net/http_client.h
index 056b50fe6..9ce30b620 100644
--- a/contrib/epee/include/net/http_client.h
+++ b/contrib/epee/include/net/http_client.h
@@ -39,11 +39,6 @@
#include "net_helper.h"
#include "http_client_base.h"
-
-#ifdef HTTP_ENABLE_GZIP
-#include "gzip_encoding.h"
-#endif
-
#include "string_tools.h"
#include "string_tools_lexical.h"
#include "reg_exp_definer.h"
@@ -757,13 +752,9 @@ namespace net_utils
boost::smatch result; // 12 3
if(boost::regex_search( m_response_info.m_header_info.m_content_encoding, result, rexp_match_gzip, boost::match_default) && result[0].matched)
{
-#ifdef HTTP_ENABLE_GZIP
- m_pcontent_encoding_handler.reset(new content_encoding_gzip(this, result[3].matched));
-#else
m_pcontent_encoding_handler.reset(new do_nothing_sub_handler(this));
- LOG_ERROR("GZIP encoding not supported in this build, please add zlib to your project and define HTTP_ENABLE_GZIP");
+ LOG_ERROR("GZIP encoding not supported");
return false;
-#endif
}
else
{