aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2021-06-10 09:55:55 -0400
committerNick Mathewson <nickm@torproject.org>2021-06-10 09:55:55 -0400
commit27a8bac5009a53194025795fe81d0c1e43bead38 (patch)
tree6dc7e0b7f06474b7be42e91499ebe3638821bc7a
parent096644038cef709b04bf5af49d1f1c3e8a05527a (diff)
parent014345ed6abca3305fcbdea3b75a23adc3976926 (diff)
downloadtor-27a8bac5009a53194025795fe81d0c1e43bead38.tar.gz
tor-27a8bac5009a53194025795fe81d0c1e43bead38.zip
Merge branch 'maint-0.4.4' into release-0.4.4
-rw-r--r--src/core/or/relay.c24
1 files changed, 3 insertions, 21 deletions
diff --git a/src/core/or/relay.c b/src/core/or/relay.c
index 78fda99a45..892dbe2d0a 100644
--- a/src/core/or/relay.c
+++ b/src/core/or/relay.c
@@ -1735,17 +1735,9 @@ handle_relay_cell_command(cell_t *cell, circuit_t *circ,
if (!conn) {
if (CIRCUIT_IS_ORIGIN(circ)) {
origin_circuit_t *ocirc = TO_ORIGIN_CIRCUIT(circ);
-<<<<<<< HEAD
- if (connection_half_edge_is_valid_end(ocirc->half_streams,
- rh->stream_id)) {
-||||||| d71bf986b4faf7
- if (connection_half_edge_is_valid_end(ocirc->half_streams,
- rh.stream_id)) {
-=======
if (relay_crypt_from_last_hop(ocirc, layer_hint) &&
connection_half_edge_is_valid_end(ocirc->half_streams,
- rh.stream_id)) {
->>>>>>> maint-0.3.5
+ rh->stream_id)) {
circuit_read_valid_data(ocirc, rh->length);
log_info(domain,
@@ -1954,20 +1946,10 @@ handle_relay_cell_command(cell_t *cell, circuit_t *circ,
if (CIRCUIT_IS_ORIGIN(circ)) {
origin_circuit_t *ocirc = TO_ORIGIN_CIRCUIT(circ);
-<<<<<<< HEAD
- if (connection_half_edge_is_valid_resolved(ocirc->half_streams,
- rh->stream_id)) {
- circuit_read_valid_data(ocirc, rh->length);
-||||||| d71bf986b4faf7
- if (connection_half_edge_is_valid_resolved(ocirc->half_streams,
- rh.stream_id)) {
- circuit_read_valid_data(ocirc, rh.length);
-=======
if (relay_crypt_from_last_hop(ocirc, layer_hint) &&
connection_half_edge_is_valid_resolved(ocirc->half_streams,
- rh.stream_id)) {
- circuit_read_valid_data(ocirc, rh.length);
->>>>>>> maint-0.3.5
+ rh->stream_id)) {
+ circuit_read_valid_data(ocirc, rh->length);
log_info(domain,
"resolved cell on circ %u valid on half-closed "
"stream id %d", ocirc->global_identifier, rh->stream_id);