Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-03-11 | fix check_curl crash if http header contains leading spacesrefs/pull/1666/head | Sven Nierlein | 1 | -1/+1 | |
check_curl crashes when a (broken) http server returns invalid http header with leading spaces or double colons. This PR adds a fix and a test case for this. Signed-off-by: Sven Nierlein <sven@nierlein.de> | |||||
2021-03-08 | check_curl: added string_statuscode function for printing HTTP/1.1 and ↵refs/pull/1667/head | Andreas Baumann | 1 | -5/+28 | |
HTTP/2 correctly | |||||
2021-01-19 | check_curl: fixed a potential buffer overflow in url buffer | Andreas Baumann | 1 | -1/+1 | |
2021-01-19 | check_curl: fixed help, usage and errors for TLS 1.3 | Andreas Baumann | 1 | -2/+2 | |
2020-05-18 | check_curl: host_name may be nullrefs/pull/1535/head | Sven Nierlein | 1 | -4/+4 | |
for example when using like: ./check_curl localhost | |||||
2020-05-18 | check_curl: use CURLOPT_RESOLVE to fix connecting to the right ip | Sven Nierlein | 1 | -0/+11 | |
when using ssl, the composed url contains the hostname instead of the specified ip. So use CURLOPT_RESOLVE to make curl still connect to the ip. | |||||
2020-05-18 | check_curl: clean trailing whitespace | Sven Nierlein | 1 | -7/+7 | |
2019-12-29 | increased copyright | Andreas Baumann | 1 | -2/+2 | |
2019-11-07 | check_curl: NSS, parse more date formats from certificate (in -C cert check) | Andreas Baumann | 1 | -1/+5 | |
2019-11-07 | check_curl: more tolerant CN= parsing when checking certificates (hit on ↵ | Andreas Baumann | 1 | -2/+9 | |
Centos 8) | |||||
2019-10-11 | setting no_body to TRUE when we have a HEAD request | Andreas Baumann | 1 | -1/+6 | |
2019-09-07 | some LIBCURL_VERSION checks around HTTP/2 feature | Andreas Baumann | 1 | -1/+5 | |
2019-09-07 | added --http-version option to check_curl to choose HTTP version | Andreas Baumann | 1 | -1/+26 | |
2019-09-07 | improved curlhelp_parse_statusline to handle both HTTP/1.x and HTTP/2 | Andreas Baumann | 1 | -12/+23 | |
2019-09-07 | setting progname of check_curl plugin to check_curl (at least for now) | Andreas Baumann | 1 | -1/+1 | |
2018-11-12 | set hostname in for CURLOPT_CURL to virtual hostname in case of SSL (for SNI ↵ | Andreas Baumann | 1 | -1/+1 | |
to work) | |||||
2018-10-29 | check_curl: code cleanup | Sven Nierlein | 1 | -11/+0 | |
CURLOPT_RESOLVE is not required, since we do not verify certificates in any way. | |||||
2018-10-25 | check_curl: rewrite connect_to / host headers | Sven Nierlein | 1 | -27/+22 | |
since CURLOPT_CONNECT_TO is only available in later curl versions, we do it the other way round now and set the url from the address we want to connect to and then set the host header accordingly. | |||||
2018-10-24 | check_curl: code cleanup | Sven Nierlein | 1 | -1/+2 | |
2018-10-24 | check_curl: handle supplied port correctly | Sven Nierlein | 1 | -4/+6 | |
if a port was given by -p, it should not be overruled by the port extracted from -H. | |||||
2018-10-22 | check_curl: unify performance data | Sven Nierlein | 1 | -23/+61 | |
and align them with check_http | |||||
2018-10-22 | check_curl: use same page length in performance data and text output | Sven Nierlein | 1 | -5/+5 | |
2018-10-22 | Modified virtual host and port behaviour to match check_http. | Christopher Odenbach | 1 | -15/+28 | |
2018-10-22 | check_curl: changed name of plugin in user-agent and added curl_version() to it | Andreas Baumann | 1 | -3/+3 | |
2018-10-22 | check_curl: removed some dead code | Andreas Baumann | 1 | -10/+0 | |
2018-10-22 | check_curl: removed die in redirect with relative paths, simple cases (same ↵ | Andreas Baumann | 1 | -2/+0 | |
protocol, same host) actually work | |||||
2018-10-22 | ..I should really not test in test code :-) | Andreas Baumann | 1 | -1/+0 | |
2018-10-22 | check_curl: made HTTP message optional | Andreas Baumann | 1 | -2/+3 | |
2018-10-22 | Avoid working with free'ed memory | Jean-François Rameau | 1 | -2/+2 | |
2018-10-22 | fixed typo in check_curl error message (unparsable) | Andreas Baumann | 1 | -1/+1 | |
2018-10-22 | bumped coyright to 2018 in check_curl.c | Andreas Baumann | 1 | -2/+2 | |
2018-10-22 | fixed initialization of server_url (freeing non-pointer in case of redirects) | Andreas Baumann | 1 | -1/+3 | |
2018-10-22 | check_curl: cleanup | Sven Nierlein | 1 | -18/+2 | |
- remove obsolete todos - change exit code to unknown if regex exectute fails Signed-off-by: Sven Nierlein <sven@nierlein.de> | |||||
2018-10-22 | set ssl_version to CURL_SSLVERSION_DEFAULT and not CURL_SSLVERSION_TLSv1_0 | Andreas Baumann | 1 | -2/+2 | |
(since curl 7.56.1 we get an illegal argument error otherwise) | |||||
2018-10-22 | added -b <proxy_auth> to print_usage | Andreas Baumann | 1 | -1/+1 | |
2018-10-22 | check_curl: add proxy auth option | Sven Nierlein | 1 | -1/+13 | |
2018-10-22 | check_curl: update docs | Sven Nierlein | 1 | -3/+11 | |
2018-10-22 | check_curl: add legacy http request support | Sven Nierlein | 1 | -2/+2 | |
2018-10-22 | check_curl: add docs about https proxy | Sven Nierlein | 1 | -1/+4 | |
2018-10-22 | check_curl: clean whitespace | Sven Nierlein | 1 | -39/+39 | |
2018-10-22 | check_curl: handle proxied https requests | Sven Nierlein | 1 | -2/+13 | |
2018-10-22 | fixed some printf bugs and switched to libcurl4-openssl for Travis tests | Andreas Baumann | 1 | -9/+10 | |
2018-10-22 | fixed redirect sticky port handling in redir | Andreas Baumann | 1 | -11/+11 | |
2018-10-22 | some rework: | Andreas Baumann | 1 | -19/+301 | |
- added old style 'redir' function and options along to a new libcurl internal 'follow' parameter 'curl' - moved picohttpparser to it's own subdirectory - added uriparser to be used instead of the home-grown parser in 'redir' | |||||
2018-10-22 | fixed failing tests due to wrong content_length calculation | Andreas Baumann | 1 | -4/+7 | |
2018-10-22 | fixed getopt (-l missing, wrong order, hard to compare with check_http.c) | Andreas Baumann | 1 | -1/+1 | |
2018-10-22 | more tolerant CERTINFO parsing | Andreas Baumann | 1 | -4/+4 | |
2018-10-22 | using CURLOPT_RESOLVE to make sure -I is the IP we connect to | Andreas Baumann | 1 | -4/+18 | |
2018-10-22 | changed URL construction again, IP should preceed hostname, hostname set as ↵ | Andreas Baumann | 1 | -1/+1 | |
Host: (makes sure we get the corrent DNS entry and server) | |||||
2018-10-22 | page length is computed from header, fallback to actual body size ↵ | Andreas Baumann | 1 | -5/+37 | |
(get_content_length) |