summaryrefslogtreecommitdiffstats
path: root/plugins/check_http.c
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2023-09-21 09:22:33 +0200
committerGitHub <noreply@github.com>2023-09-21 09:22:33 +0200
commitd5d0b50e89ee600b6a605344aad004c60b88994d (patch)
tree1ef0975b2a059daa7b8552aaf6371b3320ef477b /plugins/check_http.c
parentab493d5515bd6dd8f844eb673b783479074263f8 (diff)
parent220455a11e8f1dd3a86ac4725cf0c799c8e3b21b (diff)
downloadmonitoring-plugins-d5d0b50.tar.gz
Merge branch 'master' into compiler_warning_part_3
Diffstat (limited to 'plugins/check_http.c')
-rw-r--r--plugins/check_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c
index 1288c415..718c8ee7 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -1279,7 +1279,7 @@ check_http (void)
1279 1279
1280 regmatch_t chre_pmatch[1]; // We actually do not care about this, since we only want to know IF it was found 1280 regmatch_t chre_pmatch[1]; // We actually do not care about this, since we only want to know IF it was found
1281 1281
1282 if (regexec(&chunked_header_regex, header, 1, chre_pmatch, 0) == 0) { 1282 if (!no_body && regexec(&chunked_header_regex, header, 1, chre_pmatch, 0) == 0) {
1283 if (verbose) { 1283 if (verbose) {
1284 printf("Found chunked content\n"); 1284 printf("Found chunked content\n");
1285 } 1285 }