The existing UDP ping code assumes that any socket can send to any
server. This isn't true for TCP sockets. For them, the pings
have to be specific to each socket.
The RFC 3539 Status-Server watchdog code will fix that.
hs_proto = NULL;
home->proto = IPPROTO_TCP;
- if (home->ping_check == HOME_PING_CHECK_REQUEST) {
+ if (home->ping_check != HOME_PING_CHECK_NONE) {
cf_log_err(cf_sectiontoitem(cs),
- "Cannot use 'status_check = request' for home servers where 'proto = tcp'");
+ "Only 'status_check = none' is allowed for home servers with 'proto = tcp'");
goto error;
}