Loading doc/tor.1.txt +1 −1 Original line number Diff line number Diff line Loading @@ -1592,7 +1592,7 @@ The following options are useful only for clients (that is, if X'F7' Onion Service Introduction Timed Out Similar to X'F2' code but in this case, all introduction attemps Similar to X'F2' code but in this case, all introduction attempts have failed due to a time out. (v3 only) // Anchor only for formatting, not visible in the man page. Loading src/feature/hs/hs_circuit.c +2 −2 Original line number Diff line number Diff line Loading @@ -632,7 +632,7 @@ cleanup_on_close_client_circ(circuit_t *circ) hs_client_circuit_cleanup_on_close(circ); } /* It is possible the circuit has an HS purpose but no identifier (rend_data * or hs_ident). Thus possible that this passess through. */ * or hs_ident). Thus possible that this passes through. */ } /** Helper: cleanup function for client circuit. This is for every HS version. Loading @@ -648,7 +648,7 @@ cleanup_on_free_client_circ(circuit_t *circ) hs_client_circuit_cleanup_on_free(circ); } /* It is possible the circuit has an HS purpose but no identifier (rend_data * or hs_ident). Thus possible that this passess through. */ * or hs_ident). Thus possible that this passes through. */ } /* ========== */ Loading src/feature/hs/hs_client.c +4 −4 Original line number Diff line number Diff line Loading @@ -992,7 +992,7 @@ intro_points_all_timed_out(const ed25519_public_key_t *service_pk) return ret; } /** Called when a rendezvous circuit has timed out. Every streams attached to /** Called when a rendezvous circuit has timed out. Every stream attached to * the circuit will get set with the SOCKS5_HS_REND_FAILED (0xF3) extended * error code so if the connection to the rendezvous point ends up not * working, this code could be sent back as a reason. */ Loading @@ -1001,7 +1001,7 @@ socks_report_rend_circuit_timed_out(const origin_circuit_t *rend_circ) { tor_assert(rend_circ); /* For each entry connections attached to this rendezvous circuit, report /* For each entry connection attached to this rendezvous circuit, report * the error. */ for (edge_connection_t *edge = rend_circ->p_streams; edge; edge = edge->next_stream) { Loading Loading @@ -1858,10 +1858,10 @@ hs_client_circuit_cleanup_on_close(const circuit_t *circ) case CIRCUIT_PURPOSE_C_REND_READY: case CIRCUIT_PURPOSE_C_REND_READY_INTRO_ACKED: case CIRCUIT_PURPOSE_C_REND_JOINED: /* Report extended SOCKS error code when a rendezvous circuit timeouts. /* Report extended SOCKS error code when a rendezvous circuit times out. * This MUST be done on_close() because it is possible the entry * connection would get closed before the circuit is freed and thus * failing to report the error code. */ * would fail to report the error code. */ if (has_timed_out) { socks_report_rend_circuit_timed_out(CONST_TO_ORIGIN_CIRCUIT(circ)); } Loading Loading
doc/tor.1.txt +1 −1 Original line number Diff line number Diff line Loading @@ -1592,7 +1592,7 @@ The following options are useful only for clients (that is, if X'F7' Onion Service Introduction Timed Out Similar to X'F2' code but in this case, all introduction attemps Similar to X'F2' code but in this case, all introduction attempts have failed due to a time out. (v3 only) // Anchor only for formatting, not visible in the man page. Loading
src/feature/hs/hs_circuit.c +2 −2 Original line number Diff line number Diff line Loading @@ -632,7 +632,7 @@ cleanup_on_close_client_circ(circuit_t *circ) hs_client_circuit_cleanup_on_close(circ); } /* It is possible the circuit has an HS purpose but no identifier (rend_data * or hs_ident). Thus possible that this passess through. */ * or hs_ident). Thus possible that this passes through. */ } /** Helper: cleanup function for client circuit. This is for every HS version. Loading @@ -648,7 +648,7 @@ cleanup_on_free_client_circ(circuit_t *circ) hs_client_circuit_cleanup_on_free(circ); } /* It is possible the circuit has an HS purpose but no identifier (rend_data * or hs_ident). Thus possible that this passess through. */ * or hs_ident). Thus possible that this passes through. */ } /* ========== */ Loading
src/feature/hs/hs_client.c +4 −4 Original line number Diff line number Diff line Loading @@ -992,7 +992,7 @@ intro_points_all_timed_out(const ed25519_public_key_t *service_pk) return ret; } /** Called when a rendezvous circuit has timed out. Every streams attached to /** Called when a rendezvous circuit has timed out. Every stream attached to * the circuit will get set with the SOCKS5_HS_REND_FAILED (0xF3) extended * error code so if the connection to the rendezvous point ends up not * working, this code could be sent back as a reason. */ Loading @@ -1001,7 +1001,7 @@ socks_report_rend_circuit_timed_out(const origin_circuit_t *rend_circ) { tor_assert(rend_circ); /* For each entry connections attached to this rendezvous circuit, report /* For each entry connection attached to this rendezvous circuit, report * the error. */ for (edge_connection_t *edge = rend_circ->p_streams; edge; edge = edge->next_stream) { Loading Loading @@ -1858,10 +1858,10 @@ hs_client_circuit_cleanup_on_close(const circuit_t *circ) case CIRCUIT_PURPOSE_C_REND_READY: case CIRCUIT_PURPOSE_C_REND_READY_INTRO_ACKED: case CIRCUIT_PURPOSE_C_REND_JOINED: /* Report extended SOCKS error code when a rendezvous circuit timeouts. /* Report extended SOCKS error code when a rendezvous circuit times out. * This MUST be done on_close() because it is possible the entry * connection would get closed before the circuit is freed and thus * failing to report the error code. */ * would fail to report the error code. */ if (has_timed_out) { socks_report_rend_circuit_timed_out(CONST_TO_ORIGIN_CIRCUIT(circ)); } Loading