You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since a http2 stream can have many requests on the same TCP connection from the same client, it might be interesting to key the session on the stream connection instead.
This way, there would be no overhead when a single stream does 100 requests.
The text was updated successfully, but these errors were encountered:
The req has a .stream member for h2 connections, and that has a .session member, which could be used with a WeakMap to look up sessions, and it emits a 'close' event when the session drops. So probably it won't be hard to do.
Since a http2 stream can have many requests on the same TCP connection from the same client, it might be interesting to key the session on the stream connection instead.
This way, there would be no overhead when a single stream does 100 requests.
The text was updated successfully, but these errors were encountered: