summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/WhatsAPI++/MediaUploader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/WhatsApp/src/WhatsAPI++/MediaUploader.cpp')
-rw-r--r--protocols/WhatsApp/src/WhatsAPI++/MediaUploader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/WhatsApp/src/WhatsAPI++/MediaUploader.cpp b/protocols/WhatsApp/src/WhatsAPI++/MediaUploader.cpp
index 7d3d02b30d..9b85cf80bb 100644
--- a/protocols/WhatsApp/src/WhatsAPI++/MediaUploader.cpp
+++ b/protocols/WhatsApp/src/WhatsAPI++/MediaUploader.cpp
@@ -51,7 +51,7 @@ namespace MediaUploader
nlhr.szUrl = (char*)host.c_str();
nlhr.headers = s_imageHeaders;
nlhr.headersCount = _countof(s_imageHeaders);
- nlhr.flags = NLHRF_HTTP11 | NLHRF_GENERATEHOST | NLHRF_REMOVEHOST | NLHRF_SSL;
+ nlhr.flags = NLHRF_HTTP11 | NLHRF_SSL;
nlhr.pData = (char*)allVector.data();
nlhr.dataLength = (int)allVector.size();