summaryrefslogtreecommitdiff
path: root/src/or/cpuworker.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-08-23 10:09:25 +0000
committerRoger Dingledine <arma@torproject.org>2003-08-23 10:09:25 +0000
commit36f055e7ee7975fa6982cdfef8409b7a303166c5 (patch)
tree25c71ce947f9079be7fa2c55e5d0c9eef7a7cb34 /src/or/cpuworker.c
parent33b0569fba5a098e3aa25c50397ca59a0d63bb4a (diff)
downloadtor-36f055e7ee7975fa6982cdfef8409b7a303166c5.tar.gz
tor-36f055e7ee7975fa6982cdfef8409b7a303166c5.zip
start honoring the recommended_versions string
your client exits if you're running a version not in the directory's list of acceptable versions (unless you have a config variable set to override). svn:r408
Diffstat (limited to 'src/or/cpuworker.c')
-rw-r--r--src/or/cpuworker.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c
index c2437e5a52..0b92733f2b 100644
--- a/src/or/cpuworker.c
+++ b/src/or/cpuworker.c
@@ -39,7 +39,6 @@ int connection_cpu_process_inbuf(connection_t *conn) {
if(conn->inbuf_reached_eof) {
log_fn(LOG_ERR,"Read eof. Worker dying.");
if(conn->state != CPUWORKER_STATE_IDLE) {
- onion_pending_remove(conn->circ);
circuit_close(conn->circ);
conn->circ = NULL;
num_cpuworkers_busy--;
@@ -59,11 +58,9 @@ int connection_cpu_process_inbuf(connection_t *conn) {
if(*buf == 0 || conn->circ->p_conn == NULL ||
onionskin_process(conn->circ, buf+1, buf+1+DH_KEY_LEN) < 0) {
log_fn(LOG_DEBUG,"decoding onion, onionskin_process, or p_conn failed. Closing.");
-// onion_pending_remove(conn->circ);
circuit_close(conn->circ);
} else {
log_fn(LOG_DEBUG,"onionskin_process succeeded. Yay.");
-// onion_pending_remove(conn->circ);
}
conn->circ = NULL;
} else {