From 36f055e7ee7975fa6982cdfef8409b7a303166c5 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Sat, 23 Aug 2003 10:09:25 +0000 Subject: 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 --- src/or/cpuworker.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/or/cpuworker.c') 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 { -- cgit v1.2.3-54-g00ecf