mirror of https://github.com/CISOfy/lynis.git
Disable upload compression for now
This commit is contained in:
parent
474455d18b
commit
b44acc16e0
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue