Downgrade 'unexpected sendme cell from client' to PROTOCOL_WARN
Closes 8093.
This commit is contained in:
parent
22b9caf0ae
commit
ab4b29625d
|
@ -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.
|
|
@ -1718,7 +1718,7 @@ connection_edge_process_relay_cell(cell_t *cell, circuit_t *circ,
|
||||||
if (circ->package_window + CIRCWINDOW_INCREMENT >
|
if (circ->package_window + CIRCWINDOW_INCREMENT >
|
||||||
CIRCWINDOW_START_MAX) {
|
CIRCWINDOW_START_MAX) {
|
||||||
static struct ratelim_t client_warn_ratelim = RATELIM_INIT(600);
|
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. "
|
"Unexpected sendme cell from client. "
|
||||||
"Closing circ (window %d).",
|
"Closing circ (window %d).",
|
||||||
circ->package_window);
|
circ->package_window);
|
||||||
|
|
Loading…
Reference in New Issue