diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-11-19 10:44:31 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-11-19 10:44:31 -0500 |
commit | 118bdc3a6ddf14f89f77853078ab4c7cf24f8d94 (patch) | |
tree | 3a3f2804b7327b45fd3d8cfc64541ab5fb1a2830 /src/or/main.c | |
parent | 913fbf8f2f9eea36ccef6100608295d8c8ce449a (diff) | |
parent | 58edf92678019c0e69c043976b2af06551d83ed3 (diff) | |
download | tor-118bdc3a6ddf14f89f77853078ab4c7cf24f8d94.tar.gz tor-118bdc3a6ddf14f89f77853078ab4c7cf24f8d94.zip |
Merge remote-tracking branch 'public/decouple_conn_attach_2'
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 7aeacd138d..c9007b9798 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -2516,6 +2516,11 @@ run_main_loop_once(void) } } + /* This will be pretty fast if nothing new is pending. Note that this gets + * called once per libevent loop, which will make it happen once per group + * of events that fire, or once per second. */ + connection_ap_attach_pending(0); + return 1; } @@ -3090,6 +3095,7 @@ tor_free_all(int postfork) channel_tls_free_all(); channel_free_all(); connection_free_all(); + connection_edge_free_all(); scheduler_free_all(); memarea_clear_freelist(); nodelist_free_all(); |