Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2016-07-05 20:55:45 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-07-05 20:55:45 +0300
commitb44acc16e0378a5db0354ac2563e1e59d4cf1b2d (patch)
tree568f966a8634b20d160488fc4892fb29703968c7
parent474455d18b528ba50aba8c04b895db163d5dc035 (diff)
Disable upload compression for now
-rw-r--r--include/data_upload6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/data_upload b/include/data_upload
index 01262a98..213d8d75 100644
--- a/include/data_upload
+++ b/include/data_upload
@@ -114,9 +114,9 @@
fi
# Currently compressed uploads are not supported yet on central node. Therefore default value is set to 0.
- if [ ${COMPRESSED_UPLOADS} -eq 1 ]; then
- CURL_OPTIONS="${CURL_OPTIONS} --compressed -H 'Content-Encoding: gzip'"
- fi
+ #if [ ${COMPRESSED_UPLOADS} -eq 1 ]; then
+ # CURL_OPTIONS="${CURL_OPTIONS} --compressed -H 'Content-Encoding: gzip'"
+ #fi
# Quit if license is not valid, to reduce load on both client and server.
LogText "Command used: ${CURLBINARY}${CURL_OPTIONS} -s -S --data-urlencode "licensekey=${LICENSE_KEY}" --data-urlencode "collector_version=${PROGRAM_VERSION}" ${LICENSE_SERVER_URL} 2> /dev/null"