@@ -50,7 +50,7 @@
+ if(tcp_connection_state(fd, status, thread, http_check_thread,
+ http_get_check->connection_to)) {
+ close(fd);
-+ log_message(LOG_DEBUG, "WEB socket bind failed. Rescheduling");
++ log_message(LOG_ERR, "WEB socket bind failed. Rescheduling");
thread_add_timer(thread->master, http_connect_thread, checker,
- checker->vs->delay_loop);
- return 0;
@@ -88,7 +88,7 @@
- tcp_connection_state(sd, status, thread, smtp_check_thread, smtp_checker->timeout);
+ if(tcp_connection_state(sd, status, thread, smtp_check_thread, smtp_checker->timeout)) {
+ close(sd);
-+ log_message(LOG_DEBUG, "SMTP_CHECK socket bind failed. Rescheduling.");
++ log_message(LOG_ERR, "SMTP_CHECK socket bind failed. Rescheduling.");
+ thread_add_timer(thread->master, smtp_connect_thread, checker,
+ checker->vs->delay_loop);
+ }
@@ -124,7 +124,7 @@
+ if(tcp_connection_state(fd, status, thread, tcp_check_thread,
+ tcp_check->connection_to)) {
+ close(fd);
-+ log_message(LOG_DEBUG, "TCP socket bind failed. Rescheduling.");
++ log_message(LOG_ERR, "TCP socket bind failed. Rescheduling.");
+ thread_add_timer(thread->master, tcp_connect_thread, checker,
+ checker->vs->delay_loop);
+ }
|