Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
12 days | check_http: update copyrightrefs/pull/2035/head | Lorenz Kästle | 1 | -2/+2 | |
2024-04-07 | check_http/check_curl: added a --regex-state option to change the state of a ↵ | Andreas Baumann | 1 | -3/+16 | |
regex check from the default CRITICAL to something else (#1213) | |||||
2024-04-07 | check_curl/check_http: clarified format of POST data (#1978) | Andreas Baumann | 1 | -1/+1 | |
2023-12-28 | check_http: Remove self assignment of a variable and add some comments | RincewindsHat | 1 | -3/+2 | |
2023-10-19 | Fix fallout of the previous changes | RincewindsHat | 1 | -1/+1 | |
2023-10-15 | Fixes for compiler warning -Wparenthesesrefs/pull/1939/head | RincewindsHat | 1 | -1/+1 | |
2023-08-08 | Fix issue #1872 | Thoralf Rickert-Wendt | 1 | -1/+1 | |
2023-06-28 | Merge branch 'master' into compiler_warning_part_2refs/pull/1867/head | waja | 1 | -1/+0 | |
2023-04-17 | Fixes for -Wimplicit-fallthrough | RincewindsHat | 1 | -0/+1 | |
2023-04-17 | Remove unused variable from check_http | RincewindsHat | 1 | -1/+0 | |
2023-04-14 | Fix a lot of typos reported by codespellrefs/pull/1864/head | Jan Wagner | 1 | -2/+2 | |
2023-02-06 | check_http: Handle chunked encoding without actual content correctly | RincewindsHat | 1 | -1/+7 | |
2023-01-30 | check_http: Add space for ending NULL byte in array for chunked encodingrefs/pull/1830/head | Lorenz Kästle | 1 | -2/+4 | |
2023-01-30 | check_http: Fix memory reallocation error in chunk decoding logic | Lorenz Kästle | 1 | -4/+3 | |
This patch should fix an error with the way memory reallocation was used, which resulted in "realloc(): invalid next size". It is not completely clear to me as to what caused this problem, but apparently one can not depend handing a pointer to "realloc(3)" and expect that it still works afterwards, but one should/must use the one returned by the function. Also this patch replaces a variable which was used to remember the position in the array by just computing that from the current values. | |||||
2023-01-07 | Reformat a part to increase readability | RincewindsHat | 1 | -3/+13 | |
2023-01-07 | Undo clang formatting | RincewindsHat | 1 | -845/+790 | |
2023-01-07 | Fix several bug in the implementation of unchunking | RincewindsHat | 1 | -6/+12 | |
2023-01-07 | Fix chunked header detection regex | RincewindsHat | 1 | -2/+2 | |
2023-01-07 | Fix type of unchunk_content function declaration | RincewindsHat | 1 | -1/+1 | |
2023-01-07 | Undo sorting of header file includes, it breaks the build | RincewindsHat | 1 | -1/+3 | |
2023-01-07 | Implement chunked encoding decoding | RincewindsHat | 1 | -1/+102 | |
2023-01-07 | Restructure code a bit to put things where they are actually needed | RincewindsHat | 1 | -5/+7 | |
2023-01-07 | Remove legacy comments and add some new ones | RincewindsHat | 1 | -3/+1 | |
2023-01-07 | Remove dead code | RincewindsHat | 1 | -18/+0 | |
2023-01-07 | clang format | RincewindsHat | 1 | -813/+872 | |
2023-01-07 | Document process_arguments a little bit better | RincewindsHat | 1 | -1/+4 | |
2023-01-07 | Update copyright | RincewindsHat | 1 | -1/+1 | |
2023-01-07 | Use real booleans instead of ints | RincewindsHat | 1 | -56/+55 | |
2022-12-22 | make check_http faster with larger files | Danijel Tasov | 1 | -2/+7 | |
The current implementation becomes exponentially slower with growing response size. See also: https://github.com/nagios-plugins/nagios-plugins/blob/release-2.4.2/plugins/check_http.c#L1199-L1204 Test: $ mkdir web $ nohup python3 -m http.server -d web 5080 & $ perl -E 'say "0123456789" for (1..2_000_000)' >| web/file.txt $ ./check_http.orig -t 200 -v -I localhost -p 5080 -u /file.txt > test1.txt real 0m26.893s user 0m12.661s sys 0m14.221s $ time ./check_http -t 200 -v -I localhost -p 5080 -u /file.txt > test2.txt real 0m0.038s user 0m0.011s sys 0m0.027s $ diff -u test[12].txt --- test1.txt 2022-12-21 14:58:28.720260811 +0100 +++ test2.txt 2022-12-21 14:58:42.640008604 +0100 @@ -7,7 +7,7 @@ STATUS: HTTP/1.0 200 OK **** HEADER **** Server: SimpleHTTP/0.6 Python/3.9.2 -Date: Wed, 21 Dec 2022 13:58:01 GMT +Date: Wed, 21 Dec 2022 13:58:42 GMT Content-type: text/plain Content-Length: 22000000 Last-Modified: Wed, 21 Dec 2022 13:57:58 GMT @@ -2000013,4 +2000013,4 @@ 0123456789 0123456789 -HTTP OK: HTTP/1.0 200 OK - 22000191 bytes in 26.860 second response time |time=26.860182s;;;0.000000;200.000000 size=22000191B;;;0; +HTTP OK: HTTP/1.0 200 OK - 22000191 bytes in 0.016 second response time |time=0.016412s;;;0.000000;200.000000 size=22000191B;;;0; | |||||
2022-11-05 | Remove superflous CRLF in HTTP-Requests in check_http (#1798) | Lorenz | 1 | -3/+2 | |
* Remove superflous CRLF in HTTP-Requests in check_http | |||||
2022-09-18 | check_http: Fix HD6 definition | Jan Wagner | 1 | -1/+1 | |
2022-09-18 | I had to make a couple of small changes. | John C. Frickson | 1 | -5/+5 | |
2022-09-18 | Remove unused code | Eric Wunderlin | 1 | -4/+0 | |
2022-09-18 | Added ability to correctly check redirects with reference format ↵ | Eric Wunderlin | 1 | -0/+18 | |
//test.server.com/folder Referenced redirect of the format //www.server.com/folder would result in check_http trying to contact http://hostname:80//www.server.com/folder instead of http://www.server.com/folder. Referenced redirect of this format is listed in rfc3986 ( https://tools.ietf.org/html/rfc3986 ). It should work as expected now. | |||||
2022-04-10 | check_http: added option --continue-after-certificate (#1761) | Andreas Baumann | 1 | -5/+19 | |
2022-01-29 | check_http and check_curl: added --max-redirs=N option (feature #1684) | Andreas Baumann | 1 | -4/+16 | |
2021-06-24 | changed 'STATE_CRITICAL' to 'STATE_WARNING' for infinite looprefs/pull/1690/head | Daniel Uhlmann | 1 | -2/+2 | |
2021-04-07 | Merge pull request #1554 from stblassitude/master | Sven Nierlein | 1 | -1/+7 | |
Docs check_http: make -C obvious | |||||
2021-04-07 | Merge pull request #1566 from hydrapolic/master | Sven Nierlein | 1 | -1/+1 | |
plugins: check_http: Increase regexp limit | |||||
2020-09-23 | Merge pull request #1514 from Rasp8e/master | Sven Nierlein | 1 | -0/+15 | |
Proxy authorization is now kept when using PROXY + CONNECT to HTTPS | |||||
2019-02-12 | Also support the --show-body/-B flag when --expect is usedrefs/pull/1582/head | Tobias Wolf | 1 | -0/+2 | |
2018-12-05 | plugins: check_http: Increase regexp limitrefs/pull/1566/head | Tomas Mozes | 1 | -1/+1 | |
2018-11-09 | Add new flag --show-body/-B to print bodyrefs/pull/1560/head | Tobias Wolf | 1 | -1/+11 | |
This should help with figuring out ia problem at a glance when enabled for healthz endpoints on web APIs, for example. The content of the body can point to what the problem is and help with diagnostics. Fixes #1559 | |||||
2018-11-06 | Allow user to specify HTTP method after proxy CONNECT | Markus Frosch | 1 | -3/+14 | |
Simple format, avoids refactoring the CONNECT feature. | |||||
2018-10-09 | Docs check_http: make -C obviousrefs/pull/1554/head | Stefan Bethke | 1 | -1/+7 | |
You need to read the docs carefully to realize that check_http has two modes of operation: the regular HTTP checks, and a TLS certificate check. Only one of these can be run in a single invocation. Fixes #1553 | |||||
2017-10-17 | Adding Proxy-Authorization and extra headers in the case of connection ↵refs/pull/1514/head | Rasp8e | 1 | -0/+15 | |
through PROXY to HTTPS | |||||
2016-12-01 | Spelling fixes suggested by lintianrefs/pull/1452/head | Jan Wagner | 1 | -1/+1 | |
2016-11-19 | Merge pull request #1374 from riskersen/check_http_perfdata_timeo | Oliver Skibbe | 1 | -6/+6 | |
check_http: added timeout to perfdata as max val Resolves #1350 | |||||
2016-11-13 | add openssl 1.1 supportrefs/pull/1443/head | vagrant | 1 | -2/+2 | |
changes: - CRYPTO_lock detection replaced in configure.ac. We don't use that function anywhere, so just replace it with the suggested one from https://wiki.openssl.org/index.php/Library_Initialization#Autoconf - OPENSSL_NO_SSL2 is no longer defined while ssl2 is not included. Set it ourself using the suggested openssl 1.1 version check from https://wiki.openssl.org/index.php/1.1_API_Changes#Backward_compatibility - openssl 1.1 sends a sigpipe if the connection is still open when calling SSL_shutdown(), so move the close before the shutdown. Signed-off-by: Sven Nierlein <sven@nierlein.de> | |||||
2016-11-11 | Merge pull request #1391 from lausser/patch-1refs/pull/1444/head | Sven Nierlein | 1 | -0/+4 | |
If a web page contains a nul character, check_http reads the complete page but --string does not search beyond this character. |