mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
remove some extra-verbose logs
svn:r3361
This commit is contained in:
parent
d2400a5afd
commit
ea24dc31bc
@ -1147,7 +1147,8 @@ circuit_append_new_hop(circuit_t *circ, char *nickname, const char *exit_digest)
|
|||||||
memcpy(circ->build_state->chosen_exit_digest, exit_digest, DIGEST_LEN);
|
memcpy(circ->build_state->chosen_exit_digest, exit_digest, DIGEST_LEN);
|
||||||
++circ->build_state->desired_path_len;
|
++circ->build_state->desired_path_len;
|
||||||
if (circuit_send_next_onion_skin(circ)<0) {
|
if (circuit_send_next_onion_skin(circ)<0) {
|
||||||
log_fn(LOG_WARN, "Couldn't extend circuit to new point '%s'.", circ->build_state->chosen_exit_name);
|
log_fn(LOG_WARN, "Couldn't extend circuit to new point '%s'.",
|
||||||
|
circ->build_state->chosen_exit_name);
|
||||||
circuit_mark_for_close(circ);
|
circuit_mark_for_close(circ);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
@ -198,6 +198,7 @@ void circuit_expire_building(time_t now) {
|
|||||||
if (victim->timestamp_created + MIN_SECONDS_BEFORE_EXPIRING_CIRC > now)
|
if (victim->timestamp_created + MIN_SECONDS_BEFORE_EXPIRING_CIRC > now)
|
||||||
continue; /* it's young still, don't mess with it */
|
continue; /* it's young still, don't mess with it */
|
||||||
|
|
||||||
|
#if 0
|
||||||
/* some debug logs, to help track bugs */
|
/* some debug logs, to help track bugs */
|
||||||
if (victim->purpose >= CIRCUIT_PURPOSE_C_INTRODUCING &&
|
if (victim->purpose >= CIRCUIT_PURPOSE_C_INTRODUCING &&
|
||||||
victim->purpose <= CIRCUIT_PURPOSE_C_REND_READY_INTRO_ACKED) {
|
victim->purpose <= CIRCUIT_PURPOSE_C_REND_READY_INTRO_ACKED) {
|
||||||
@ -213,6 +214,7 @@ void circuit_expire_building(time_t now) {
|
|||||||
victim->n_circ_id,
|
victim->n_circ_id,
|
||||||
(int)(now - victim->timestamp_dirty));
|
(int)(now - victim->timestamp_dirty));
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* if circ is !open, or if it's open but purpose is a non-finished
|
/* if circ is !open, or if it's open but purpose is a non-finished
|
||||||
* intro or rend, then mark it for close */
|
* intro or rend, then mark it for close */
|
||||||
|
Loading…
Reference in New Issue
Block a user