mirror of
https://github.com/n0-computer/noq.git
synced 2026-09-23 11:45:25 +00:00
refactor(proto): a few logging and comment tweaks (#494)
Mostly just to split off irrelevant changes from #444.
This commit is contained in:
committed by
GitHub
parent
9234776e64
commit
eab0948804
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user