start hunting down why servers keep getting so many duplicate create cells

svn:r5255
This commit is contained in:
Roger Dingledine 2005-10-17 01:46:47 +00:00
parent ae92a91d96
commit 1be5f4a81b

View File

@ -185,9 +185,14 @@ command_process_create_cell(cell_t *cell, connection_t *conn)
circ = circuit_get_by_circid_orconn(cell->circ_id, conn);
if (circ) {
routerinfo_t *router = router_get_by_digest(conn->identity_digest);
log_fn(LOG_PROTOCOL_WARN,
"received CREATE cell (circID %d) for known circ. Dropping.",
cell->circ_id);
"received CREATE cell (circID %d) for known circ. Dropping (age %d).",
cell->circ_id, (int)(time(NULL) - conn->timestamp_created));
if (router)
log_fn(LOG_PROTOCOL_WARN,
"Details: nickname '%s', platform '%s'.",
router->nickname, router->platform);
return;
}