summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-06-08 09:21:15 -0400
committerNick Mathewson <nickm@torproject.org>2017-06-08 09:21:15 -0400
commitc1646d6e894f11fe3a363468d7a668648f2d63d7 (patch)
tree508b71b00e0d4d826680844c87552872b894862d /src
parent9a6f93858267ba2d68f1f092498a06f5115126c4 (diff)
parent40bccc20042fcc4f43964b358257470830169e73 (diff)
downloadtor-c1646d6e894f11fe3a363468d7a668648f2d63d7.tar.gz
tor-c1646d6e894f11fe3a363468d7a668648f2d63d7.zip
Merge branch 'maint-0.2.6' into maint-0.2.7-redux
Diffstat (limited to 'src')
-rw-r--r--src/or/relay.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/relay.c b/src/or/relay.c
index eddad6a0cb..1f1ed2a3e2 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -1503,7 +1503,8 @@ connection_edge_process_relay_cell(cell_t *cell, circuit_t *circ,
"Begin cell for known stream. Dropping.");
return 0;
}
- if (rh.command == RELAY_COMMAND_BEGIN_DIR) {
+ if (rh.command == RELAY_COMMAND_BEGIN_DIR &&
+ circ->purpose != CIRCUIT_PURPOSE_S_REND_JOINED) {
/* Assign this circuit and its app-ward OR connection a unique ID,
* so that we can measure download times. The local edge and dir
* connection will be assigned the same ID when they are created