refactor(proto): a few logging and comment tweaks (#494)

Mostly just to split off irrelevant changes from #444.
This commit is contained in:
Floris Bruynooghe
2026-03-11 13:49:16 +01:00
committed by GitHub
parent 9234776e64
commit eab0948804
+4 -2
View File
@@ -664,6 +664,8 @@ impl Connection {
}
}
trace!(%path_id, ?reason, "closing path");
// Send PATH_ABANDON
self.spaces[SpaceId::Data]
.pending
@@ -986,8 +988,8 @@ impl Connection {
return None;
}
StateType::Draining | StateType::Closed => {
// self.close is only reset once the associated packet had been
// encoded successfully
// self.connection_close_pending is only reset once the associated packet
// had been encoded successfully
if !self.connection_close_pending {
self.app_limited = true;
return None;