Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Feature Request: Currently open stream statistic #387

Open
splitice opened this issue May 15, 2020 · 0 comments
Open

Feature Request: Currently open stream statistic #387

splitice opened this issue May 15, 2020 · 0 comments

Comments

@splitice
Copy link

splitice commented May 15, 2020

Is your feature request related to a problem? Please describe.

Related to #383 and #386

Describe the solution you'd like
It would be really handy to know the current number of opened streams on a session at the ngtcp2 level. This would make it easy to identify leaking streams (i.e ones lost in the Javascript client) but still open due to not (yet) exceeding the idle time.

This is supplementary to the current counters providing the total number of opened streams since session establishment.

Describe alternatives you've considered
Of course the user could wrap the QUIC system to provide tracking like this. However as this relates to finding a common possible developer error it might be best to provide it in the core. Further as the Native module can likely (confirm?) extract this from ngtcp2 or it's own data it can likely provide a more reliable source for this data.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant