aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-03-24 02:50:07 +0000
committerRoger Dingledine <arma@torproject.org>2003-03-24 02:50:07 +0000
commit9ac9db782aeacf62e2b625de0c629640f0ebdc25 (patch)
tree5c7965a9b5eeb0ab9423ce8ecca8306b8e630c13 /src/or/connection.c
parent9d03ae627d12d571ce19a841c469a99008523eed (diff)
downloadtor-9ac9db782aeacf62e2b625de0c629640f0ebdc25.tar
tor-9ac9db782aeacf62e2b625de0c629640f0ebdc25.tar.gz
fix rare race condition
if the directory is remade while an OR is handshaking, the directory needs to become dirty again when the handshake succeeds svn:r215
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 41d07293f..3cae0d42d 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -123,9 +123,6 @@ connection_t *connection_new(int type) {
return NULL;
}
}
- if(type == CONN_TYPE_OR) {
- directory_set_dirty();
- }
#ifdef USE_ZLIB
if (type == CONN_TYPE_AP || type == CONN_TYPE_EXIT) {
if (buf_new(&conn->z_outbuf, &conn->z_outbuflen, &conn->z_outbuf_datalen) < 0)