tor-proto channel padding: Document PADDING_NEGOTIATE overwriting
As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/657#note_2825979
This commit is contained in:
parent
1104235ee5
commit
481bf0bbe9
|
@ -278,6 +278,9 @@ impl<S: SleepProvider> Reactor<S> {
|
|||
}
|
||||
}
|
||||
if let Some(padding_negotiate) = padding_negotiate {
|
||||
// This replaces any previous PADDING_NEGOTIATE cell that we were
|
||||
// told to send, but which we didn't manage to send yet.
|
||||
// It doesn't make sense to queue them up.
|
||||
self.special_outgoing.padding_negotiate = Some(padding_negotiate.clone());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue