|
|
@ -530,6 +530,7 @@ retry: |
|
|
|
LOGWARNING("Failed to get message in connector_loop"); |
|
|
|
LOGWARNING("Failed to get message in connector_loop"); |
|
|
|
goto retry; |
|
|
|
goto retry; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
LOGDEBUG("Connector received message: %s", buf); |
|
|
|
if (cmdmatch(buf, "ping")) { |
|
|
|
if (cmdmatch(buf, "ping")) { |
|
|
|
LOGDEBUG("Connector received ping request"); |
|
|
|
LOGDEBUG("Connector received ping request"); |
|
|
|
send_unix_msg(sockd, "pong"); |
|
|
|
send_unix_msg(sockd, "pong"); |
|
|
@ -550,7 +551,6 @@ retry: |
|
|
|
goto retry; |
|
|
|
goto retry; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
LOGDEBUG("Connector received message: %s", buf); |
|
|
|
|
|
|
|
if (cmdmatch(buf, "shutdown")) |
|
|
|
if (cmdmatch(buf, "shutdown")) |
|
|
|
goto out; |
|
|
|
goto out; |
|
|
|
if (cmdmatch(buf, "dropclient")) { |
|
|
|
if (cmdmatch(buf, "dropclient")) { |
|
|
|