You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the server, look in `server.rs` for `fn accept_connection(...)`. That is where a new connection is handled. There shouldn't be a negotiated equivalent on the server, but the recording of failed version negotiation can be recorded.
For VN, you can make a call in fn process_input(...) right where it calls PacketBuilder::version_negotiation(...), which is where the Version Negotiation packet is sent. For that, you'll need to create a new QLog instance with self.create_qlog_trace(attempt_key). You will have to follow other code for that. I probably wouldn't bother trying to reduce the number of logging events from the same remote address and DCID, because that just creates a cleanup hazard.
For VN, you can make a call in
fn process_input(...)
right where it callsPacketBuilder::version_negotiation(...)
, which is where the Version Negotiation packet is sent. For that, you'll need to create a new QLog instance withself.create_qlog_trace(attempt_key)
. You will have to follow other code for that. I probably wouldn't bother trying to reduce the number of logging events from the same remote address and DCID, because that just creates a cleanup hazard.That won't catch all cases, but enough.
Originally posted by @martinthomson in #1505 (review)
The text was updated successfully, but these errors were encountered: