Downgrade 'unexpected sendme cell from client' to PROTOCOL_WARN

Closes 8093.
This commit is contained in:
Nick Mathewson 2014-10-16 13:04:11 -04:00
parent 22b9caf0ae
commit ab4b29625d
2 changed files with 4 additions and 1 deletions

3
changes/bug8093 Normal file
View File

@ -0,0 +1,3 @@
o Downgraded warnings:
- Downgrade the severity of the 'unexpected sendme cell from client' from
'warn' to 'protocol warning'. Closes ticket 8093.

View File

@ -1718,7 +1718,7 @@ connection_edge_process_relay_cell(cell_t *cell, circuit_t *circ,
if (circ->package_window + CIRCWINDOW_INCREMENT >
CIRCWINDOW_START_MAX) {
static struct ratelim_t client_warn_ratelim = RATELIM_INIT(600);
log_fn_ratelim(&client_warn_ratelim, LOG_WARN, LD_PROTOCOL,
log_fn_ratelim(&client_warn_ratelim,LOG_PROTOCOL_WARN, LD_PROTOCOL,
"Unexpected sendme cell from client. "
"Closing circ (window %d).",
circ->package_window);