Ticket #16013: tor-0.2.6.0-bug16013-cand01.patch

File tor-0.2.6.0-bug16013-cand01.patch, 646 bytes (added by starlight, 4 years ago)

tweak fixes to patch canidate

  • src/or/circuituse.c

    diff --git a/src/or/circuituse.c b/src/or/circuituse.c
    index 373684b..4c50d68 100644
    a b connection_ap_handshake_attach_circuit(entry_connection_t *conn) 
    24122412      return 1;
    24132413    }
    24142414
     2415    if (ENTRY_TO_CONN(conn)->state != AP_CONN_STATE_CIRCUIT_WAIT) {
     2416      log_info(LD_REND, "This connection is no longer ready to attach; its "
     2417               "state changed. (We probably have to re-fetch its descriptor)");
     2418      return 0;
     2419    }
     2420
    24152421    if (rendcirc && (rendcirc->base_.purpose ==
    24162422                     CIRCUIT_PURPOSE_C_REND_READY_INTRO_ACKED)) {
    24172423      log_info(LD_REND,