diff options
author | Roger Dingledine <arma@torproject.org> | 2006-03-09 00:18:16 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-03-09 00:18:16 +0000 |
commit | 44107f6ec4d4cd9a4e8dc2d509bebb0cb5fee301 (patch) | |
tree | 13242774d97d48b0f0b1a44322e81f7ee40e7dd1 /src/or/main.c | |
parent | 8a72c2bd62611541e527a7a308fc134198641c3e (diff) | |
download | tor-44107f6ec4d4cd9a4e8dc2d509bebb0cb5fee301.tar.gz tor-44107f6ec4d4cd9a4e8dc2d509bebb0cb5fee301.zip |
Implement NEWNYM. Nick, did I do a bad thing?
svn:r6105
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c index 9bcd31b9b3..148c6e0307 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1220,6 +1220,9 @@ control_signal_act(int the_signal) case 15: signal_callback(0,0,(void*)(uintptr_t)SIGTERM); break; + case SIGNEWNYM: + signal_callback(0,0,(void*)(uintptr_t)SIGNEWNYM); + break; default: return -1; } @@ -1274,6 +1277,9 @@ signal_callback(int fd, short events, void *arg) zombies */ break; #endif + case SIGNEWNYM: + circuit_expire_all_dirty_circs(); + break; } } |