Disable upload compression for now

This commit is contained in:
Michael Boelen 2016-07-05 19:55:45 +02:00
parent 474455d18b
commit b44acc16e0
1 changed files with 3 additions and 3 deletions

View File

@ -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"