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.
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.
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. */
}
/* ========== */
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. */
{
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) {
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));
}