aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_curl.c
AgeCommit message (Collapse)Author
2019-12-29increased copyrightGravatar Andreas Baumann
2019-11-07check_curl: NSS, parse more date formats from certificate (in -C cert check)Gravatar Andreas Baumann
2019-11-07check_curl: more tolerant CN= parsing when checking certificates (hit on ↵Gravatar Andreas Baumann
Centos 8)
2019-10-11setting no_body to TRUE when we have a HEAD requestGravatar Andreas Baumann
2019-09-07some LIBCURL_VERSION checks around HTTP/2 featureGravatar Andreas Baumann
2019-09-07added --http-version option to check_curl to choose HTTP versionGravatar Andreas Baumann
2019-09-07improved curlhelp_parse_statusline to handle both HTTP/1.x and HTTP/2Gravatar Andreas Baumann
2019-09-07setting progname of check_curl plugin to check_curl (at least for now)Gravatar Andreas Baumann
2018-11-12set hostname in for CURLOPT_CURL to virtual hostname in case of SSL (for SNI ↵Gravatar Andreas Baumann
to work)
2018-10-29check_curl: code cleanupGravatar Sven Nierlein
CURLOPT_RESOLVE is not required, since we do not verify certificates in any way.
2018-10-25check_curl: rewrite connect_to / host headersGravatar Sven Nierlein
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-24check_curl: code cleanupGravatar Sven Nierlein
2018-10-24check_curl: handle supplied port correctlyGravatar Sven Nierlein
if a port was given by -p, it should not be overruled by the port extracted from -H.
2018-10-22check_curl: unify performance dataGravatar Sven Nierlein
and align them with check_http
2018-10-22check_curl: use same page length in performance data and text outputGravatar Sven Nierlein
2018-10-22Modified virtual host and port behaviour to match check_http.Gravatar Christopher Odenbach
2018-10-22check_curl: changed name of plugin in user-agent and added curl_version() to itGravatar Andreas Baumann
2018-10-22check_curl: removed some dead codeGravatar Andreas Baumann
2018-10-22check_curl: removed die in redirect with relative paths, simple cases (same ↵Gravatar Andreas Baumann
protocol, same host) actually work
2018-10-22..I should really not test in test code :-)Gravatar Andreas Baumann
2018-10-22check_curl: made HTTP message optionalGravatar Andreas Baumann
2018-10-22Avoid working with free'ed memoryGravatar Jean-François Rameau
2018-10-22fixed typo in check_curl error message (unparsable)Gravatar Andreas Baumann
2018-10-22bumped coyright to 2018 in check_curl.cGravatar Andreas Baumann
2018-10-22fixed initialization of server_url (freeing non-pointer in case of redirects)Gravatar Andreas Baumann
2018-10-22check_curl: cleanupGravatar Sven Nierlein
- remove obsolete todos - change exit code to unknown if regex exectute fails Signed-off-by: Sven Nierlein <sven@nierlein.de>
2018-10-22set ssl_version to CURL_SSLVERSION_DEFAULT and not CURL_SSLVERSION_TLSv1_0Gravatar Andreas Baumann
(since curl 7.56.1 we get an illegal argument error otherwise)
2018-10-22added -b <proxy_auth> to print_usageGravatar Andreas Baumann
2018-10-22check_curl: add proxy auth optionGravatar Sven Nierlein
2018-10-22check_curl: update docsGravatar Sven Nierlein
2018-10-22check_curl: add legacy http request supportGravatar Sven Nierlein
2018-10-22check_curl: add docs about https proxyGravatar Sven Nierlein
2018-10-22check_curl: clean whitespaceGravatar Sven Nierlein
2018-10-22check_curl: handle proxied https requestsGravatar Sven Nierlein
2018-10-22fixed some printf bugs and switched to libcurl4-openssl for Travis testsGravatar Andreas Baumann
2018-10-22fixed redirect sticky port handling in redirGravatar Andreas Baumann
2018-10-22some rework:Gravatar Andreas Baumann
- 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-22fixed failing tests due to wrong content_length calculationGravatar Andreas Baumann
2018-10-22fixed getopt (-l missing, wrong order, hard to compare with check_http.c)Gravatar Andreas Baumann
2018-10-22more tolerant CERTINFO parsingGravatar Andreas Baumann
2018-10-22using CURLOPT_RESOLVE to make sure -I is the IP we connect toGravatar Andreas Baumann
2018-10-22changed URL construction again, IP should preceed hostname, hostname set as ↵Gravatar Andreas Baumann
Host: (makes sure we get the corrent DNS entry and server)
2018-10-22page length is computed from header, fallback to actual body size ↵Gravatar Andreas Baumann
(get_content_length)
2018-10-22fixed setting host_name or server_address in curl URL optionGravatar Andreas Baumann
2018-10-22reverted hostname in URL, must use CURL_RESOLVE mayabeGravatar Andreas Baumann
2018-10-22must use host_name and not server_address in URL, CN subject mismatchGravatar Andreas Baumann
2018-10-22disable non-OpenSSL code compilation in -C check if we have USE_OPENSSL setGravatar Andreas Baumann
2018-10-22made non-OpenSSL version of certificate -C check workGravatar Andreas Baumann
2018-10-22handling the -C check now when compiled with OpenSSL but libcurl is not ↵Gravatar Andreas Baumann
compiled with OpenSSL
2018-10-22preparing for certificate checks (non-OpenSSL version)Gravatar Andreas Baumann