diff options
author | Roger Dingledine <arma@torproject.org> | 2004-07-22 22:15:36 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-07-22 22:15:36 +0000 |
commit | aebec8ab9ea6ca9e552ea7d87995a4fad8dc9fe0 (patch) | |
tree | 0cfddf5a2cec4da163fe78bde3912f4b15cf9cf1 /src/or/cpuworker.c | |
parent | 7119345fbbbf9be40bad09d5107a78ed7ae04eac (diff) | |
download | tor-aebec8ab9ea6ca9e552ea7d87995a4fad8dc9fe0.tar.gz tor-aebec8ab9ea6ca9e552ea7d87995a4fad8dc9fe0.zip |
stop using atexit() to remove our pid, since it's called
immediately when we daemonize.
also drop our retry period for hidserv desc uploads from 10m to 5m
svn:r2111
Diffstat (limited to 'src/or/cpuworker.c')
-rw-r--r-- | src/or/cpuworker.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c index 6b73d9510a..4e66a40f49 100644 --- a/src/or/cpuworker.c +++ b/src/or/cpuworker.c @@ -268,6 +268,7 @@ static int spawn_cpuworker(void) { if(tor_socketpair(AF_UNIX, SOCK_STREAM, 0, fd) < 0) { log(LOG_ERR, "Couldn't construct socketpair: %s", tor_socket_strerror(tor_socket_errno(-1))); + tor_cleanup(); exit(1); } |