mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-22 06:21:55 +01:00
allow servers to publish descriptors from 12 hours in the future.
hopefully this will allow more slack and let crummier servers help out too. svn:r4046
This commit is contained in:
parent
b897cb1ec3
commit
dd98412ce1
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ const char dirserv_c_id[] = "$Id$";
|
|||
**/
|
||||
|
||||
/** How far in the future do we allow a router to get? (seconds) */
|
||||
#define ROUTER_ALLOW_SKEW (30*60)
|
||||
#define ROUTER_ALLOW_SKEW (60*60*12) /* 12 hours */
|
||||
/** How many seconds do we wait before regenerating the directory? */
|
||||
#define DIR_REGEN_SLACK_TIME 10
|
||||
|
||||
|
|
|
@ -748,7 +748,7 @@ connection_edge_process_relay_cell_not_open(
|
|||
}
|
||||
|
||||
log_fn(LOG_WARN,"Got an unexpected relay command %d, in state %d (%s). Closing.",
|
||||
rh->command, conn->state, conn_state_to_string(conn->type, conn->state));
|
||||
rh->command, conn->state, conn_state_to_string(conn->type, conn->state));
|
||||
connection_edge_end(conn, END_STREAM_REASON_TORPROTOCOL, conn->cpath_layer);
|
||||
connection_mark_for_close(conn);
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Reference in a new issue