summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/check_http.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c
index 440c8422..ca8746b7 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -1111,25 +1111,7 @@ int check_http(void) {
1111 elapsed_time_transfer = (double)microsec_transfer / 1.0e6; 1111 elapsed_time_transfer = (double)microsec_transfer / 1.0e6;
1112 1112
1113 if (i < 0 && errno != ECONNRESET) { 1113 if (i < 0 && errno != ECONNRESET) {
1114#ifdef HAVE_SSL
1115 /*
1116 if (use_ssl) {
1117 sslerr=SSL_get_error(ssl, i);
1118 if ( sslerr == SSL_ERROR_SSL ) {
1119 die (STATE_WARNING, _("HTTP WARNING - Client Certificate Required\n"));
1120 } else {
1121 die (STATE_CRITICAL, _("HTTP CRITICAL - Error on receive\n"));
1122 }
1123 }
1124 else {
1125 */
1126#endif
1127 die(STATE_CRITICAL, _("HTTP CRITICAL - Error on receive\n")); 1114 die(STATE_CRITICAL, _("HTTP CRITICAL - Error on receive\n"));
1128#ifdef HAVE_SSL
1129 /* XXX
1130 }
1131 */
1132#endif
1133 } 1115 }
1134 1116
1135 /* return a CRITICAL status if we couldn't read any data */ 1117 /* return a CRITICAL status if we couldn't read any data */