diff options
author | Thoralf Rickert-Wendt <30341294+trickert76@users.noreply.github.com> | 2023-08-08 10:22:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-08 10:22:53 +0200 |
commit | a6802bd5f50a5c12ed5bafa4fe9ee14fede7c1e1 (patch) | |
tree | 9e4c1a99a821646e328780a39fa3dc0d8190c56f /plugins/check_http.c | |
parent | 43131b73d69e77a3faee69814dac1bbc88162887 (diff) | |
download | monitoring-plugins-a6802bd.tar.gz |
Fix issue #1872
Diffstat (limited to 'plugins/check_http.c')
-rw-r--r-- | plugins/check_http.c | 2 |
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 | } |