diff options
author | rl1987 <rl1987@sdf.lonestar.org> | 2014-11-02 19:14:58 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-11-25 12:48:41 -0500 |
commit | 8c135062e51b2ead38a756b045e7d243ffbda5a9 (patch) | |
tree | 09c6bf51508753476bee11001629c9c1f7767596 /src/or/main.c | |
parent | f179ff18f3d05cff2a28add5b0ae9df929d94536 (diff) | |
download | tor-8c135062e51b2ead38a756b045e7d243ffbda5a9.tar.gz tor-8c135062e51b2ead38a756b045e7d243ffbda5a9.zip |
Adding 'SIGNAL HEARTBEAT' message that causes unscheduled heartbeat.
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c index 5a4e0a3e2d..6a6e36abc6 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -2137,6 +2137,9 @@ process_signal(uintptr_t sig) addressmap_clear_transient(); control_event_signal(sig); break; + case SIGHEARTBEAT: + log_heartbeat(time(NULL)); + break; } } |