hyper
hyper copied to clipboard
Only increase window size when frames are consumed
Right now we increment the remote window size when frames are read off the wire, not when they're actually consumed. This can lead to hyper growing massive in memory when the user isn't actually reading those frames.
We should increment the window when the user is read()ing from the stream, not when hyper does.