From b44acc16e0378a5db0354ac2563e1e59d4cf1b2d Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Tue, 5 Jul 2016 19:55:45 +0200 Subject: [PATCH] Disable upload compression for now --- include/data_upload | 6 +++--- 1 file 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"