diff options
author | Roger Dingledine <arma@torproject.org> | 2004-01-20 18:17:43 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-01-20 18:17:43 +0000 |
commit | deda0d93dd2b4935b4feca9b25b492c34b58b5fb (patch) | |
tree | e550157d1dc500462c3c07d4396071f9ce424279 /src | |
parent | 3516ae1a26dd0cc94cb3bd5a977357ad065b483f (diff) | |
download | tor-deda0d93dd2b4935b4feca9b25b492c34b58b5fb.tar tor-deda0d93dd2b4935b4feca9b25b492c34b58b5fb.tar.gz |
Let AP edges receive 'end' relay cells while waiting for 'connected'
svn:r1012
Diffstat (limited to 'src')
-rw-r--r-- | src/or/connection_edge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index 4755f6fd4..ddcabad81 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -203,7 +203,7 @@ int connection_edge_process_relay_cell(cell_t *cell, circuit_t *circ, connection * conn points to the recognized stream. */ if(conn && conn->state != AP_CONN_STATE_OPEN && conn->state != EXIT_CONN_STATE_OPEN) { - if(conn->type == CONN_TYPE_EXIT && rh.command == RELAY_COMMAND_END) { + if(rh.command == RELAY_COMMAND_END) { log_fn(LOG_INFO,"Exit got end (%s) before we're connected. Marking for close.", connection_edge_end_reason(cell->payload+RELAY_HEADER_SIZE, rh.length)); if(conn->state == EXIT_CONN_STATE_RESOLVING) { |