mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Implement NEWNYM. Nick, did I do a bad thing?
svn:r6105
This commit is contained in:
@@ -1118,6 +1118,8 @@ handle_control_signal(connection_t *conn, uint32_t len,
|
||||
sig = SIGUSR2;
|
||||
else if (!strcasecmp(s, "HALT") || !strcasecmp(s, "TERM"))
|
||||
sig = SIGTERM;
|
||||
else if (!strcasecmp(s, "NEWNYM"))
|
||||
sig = SIGNEWNYM;
|
||||
else {
|
||||
connection_printf_to_buf(conn, "552 Unrecognized signal code \"%s\"\r\n",
|
||||
s);
|
||||
|
||||
Reference in New Issue
Block a user