Closed rmarx closed 3 months ago
Seems like the qlog crate didn't implement this properly, at the time of writing I only support the ConnectionState
type. We don't actually generate any connectivity event types is quiche yet but could in future. If we did, I suspect having the option to log a value from ConnectionState
would be useful. Especially the draining to closed transition, which seems to catch people out.
I'd probably be in favor of a single ConnectionState
type and we can bikeshed some more on what values are actually kept inside that. Having both types seems odd, especially as one is a subset of the other.
This QUIC event currently has a long list of possible connection states (both "simple" and "full"), but it hasn't been validated if these states are correct/logical wrt the final RFCs (list has been in there for a long while since early drafts).
Unlike for Stream states there doesn't seem to be a clear flow graph for Connection states in RFC9000, so it's not easy to distill something "RFC-esque".
My gut feeling would be to just keep the SimpleConnectionState and remove the rest, but that does miss some info...
This could use input from someone with deployment experience that wants to track connection state in this way. CC @LPardue @marten-seemann @lnicco