|
|
@ -286,6 +286,14 @@ retry: |
|
|
|
Close(connfd); |
|
|
|
Close(connfd); |
|
|
|
} else |
|
|
|
} else |
|
|
|
LOGWARNING("Failed to send_procmsg to connector"); |
|
|
|
LOGWARNING("Failed to send_procmsg to connector"); |
|
|
|
|
|
|
|
} else if (cmdmatch(buf, "accept")) { |
|
|
|
|
|
|
|
LOGWARNING("Listener received accept message, accepting clients"); |
|
|
|
|
|
|
|
send_unix_msg(sockd, "accepting"); |
|
|
|
|
|
|
|
send_procmsg(ckp->connector, "accept"); |
|
|
|
|
|
|
|
} else if (cmdmatch(buf, "reject")) { |
|
|
|
|
|
|
|
LOGWARNING("Listener received reject message, rejecting clients"); |
|
|
|
|
|
|
|
send_unix_msg(sockd, "rejecting"); |
|
|
|
|
|
|
|
send_procmsg(ckp->connector, "reject"); |
|
|
|
} else if (cmdmatch(buf, "restart")) { |
|
|
|
} else if (cmdmatch(buf, "restart")) { |
|
|
|
LOGWARNING("Listener received restart message, attempting handover"); |
|
|
|
LOGWARNING("Listener received restart message, attempting handover"); |
|
|
|
send_unix_msg(sockd, "restarting"); |
|
|
|
send_unix_msg(sockd, "restarting"); |
|
|
|