diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-04-06 05:33:32 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-04-06 05:33:32 +0000 |
commit | b7cdcf34622eff7e2d805452e94883e8bd94f5d6 (patch) | |
tree | 0dfc4c1e18c0f15dc3f73255dbbb26d4096ff281 /src/or/cpuworker.c | |
parent | 712d05c19a8730e9a34118b68d8a78f767cbb285 (diff) | |
download | tor-b7cdcf34622eff7e2d805452e94883e8bd94f5d6.tar.gz tor-b7cdcf34622eff7e2d805452e94883e8bd94f5d6.zip |
Hopefully, this will make ORs much faster, and not break them: keep a big splay tree of (circid,orconn)->circuit mappings to make circuit_get_by_circid_conn much faster.
svn:r4020
Diffstat (limited to 'src/or/cpuworker.c')
-rw-r--r-- | src/or/cpuworker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c index f27de2f429..e820f939be 100644 --- a/src/or/cpuworker.c +++ b/src/or/cpuworker.c @@ -146,7 +146,7 @@ int connection_cpu_process_inbuf(connection_t *conn) { * case there are multiple connections.) */ p_conn = connection_exact_get_by_addr_port(addr,port); if (p_conn) - circ = circuit_get_by_circ_id_conn(circ_id, p_conn); + circ = circuit_get_by_circid_orconn(circ_id, p_conn); if (success == 0) { log_fn(LOG_INFO,"decoding onionskin failed. Closing."); |