diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-12-29 02:47:51 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-12-29 02:47:51 +0000 |
commit | b59573949efd7427463d96c83ce059f79ab4f413 (patch) | |
tree | cd02b4aa9bcf21435865ff8e35fc8960f5ca3a31 /src/or/relay.c | |
parent | 0bbbf98be4eff74218a010a24f5cafe4da7045b6 (diff) | |
download | tor-b59573949efd7427463d96c83ce059f79ab4f413.tar.gz tor-b59573949efd7427463d96c83ce059f79ab4f413.zip |
r11736@Kushana: nickm | 2006-12-28 17:46:23 -0500
Mark a pile of XXXX comments as targetted for 0.1.2: some because they look important, some because they look easy.
svn:r9205
Diffstat (limited to 'src/or/relay.c')
-rw-r--r-- | src/or/relay.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/or/relay.c b/src/or/relay.c index 3c5c8e1140..1f0431f231 100644 --- a/src/or/relay.c +++ b/src/or/relay.c @@ -195,7 +195,8 @@ circuit_receive_relay_cell(cell_t *cell, circuit_t *circ, int cell_direction) cell->circ_id = TO_OR_CIRCUIT(circ)->p_circ_id; /* switch it */ or_conn = TO_OR_CIRCUIT(circ)->p_conn; } else { - // XXXX NM WARN. + log_fn(LOG_PROTOCOL_WARN, LD_OR, + "Dropping unrecognized inbound cell on origin circuit."); return 0; } @@ -1395,12 +1396,6 @@ circuit_consider_stop_edge_reading(circuit_t *circ, crypt_path_t *layer_hint) layer_hint->package_window); if (layer_hint->package_window <= 0) { log_debug(domain,"yes, at-origin. stopped."); -#if 0 - // XXXX NM DEAD CODE. - for (conn = circ->n_streams; conn; conn=conn->next_stream) - if (conn->cpath_layer == layer_hint) - connection_stop_reading(conn); -#endif for (conn = TO_ORIGIN_CIRCUIT(circ)->p_streams; conn; conn=conn->next_stream) if (conn->cpath_layer == layer_hint) |