Description
If the spec is only dumping information for current streams then to be able to diagnose issues in the assignment of the current available connection-window bytes to streams for actual writes we would need to know how many bytes & padding bytes were written for the lifetime of the connection.
It seems like we could get rid of the conn* prefixed entries and just always have a stream '0' in the map to represent this state.
An example implementation issue is that a flow-control implementation grants a slice of the connection window to a stream to allow it to write, the stream is reset and the write never occurs but the granted slice is not returned. This zombie slice of allocated connection window eventually causes starvation.
The dump would show this behavior by:
- the total number of bytes written on the connection is less than the aggregate window received
- sampling the streams over time would show them as stalled as the number by bytes written was unchanged