From 3fbb292bfff2765c4e541763e4e40e068e55e4ab Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 25 Oct 2006 21:46:21 +0000 Subject: r9389@Kushana: nickm | 2006-10-25 17:46:16 -0400 Add a CLEARDNSCACHE signal to clear the client-side DNS cache. svn:r8829 --- src/or/control.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/or/control.c') diff --git a/src/or/control.c b/src/or/control.c index 60a233211d..036323d2b4 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -1283,6 +1283,8 @@ handle_control_signal(control_connection_t *conn, uint32_t len, sig = SIGTERM; else if (!strcasecmp(s, "NEWNYM")) sig = SIGNEWNYM; + else if (!strcasecmp(s, "CLEARDNSCACHE")) + sig = SIGCLEARDNSCACHE; else { connection_printf_to_buf(conn, "552 Unrecognized signal code \"%s\"\r\n", s); -- cgit v1.2.3-54-g00ecf