ControlFlow::poll_window_update now exposes, effectively, a Stream of
WindowUpdates. Callers no longer poll on invidual stream IDs. To
accomplish this, FlowControl maintains a queue of pending remote stream
ids.
Improve/shorten naming throughout FlowControl.
FlowControlState::check_window has been added so that FlowControl is now
consistent in the face of stream-level flow control errors.
Connection now exposes the ControlFlow functions without exposing the
ControlFlow interface publicly.
introduce the StreamTransporter trait, which exposes a map containing
all active stream states.
add skeletons for StreamTracker and FlowControl. StreamTracker drives
all state changes
* comments
* wip
* wip
* Sketch out pingpong and keepalive stack modules
PingPong responds to ping requests with acknowledgements.
KeepAlive issues ping requests on idle connections.
* remove keepalive for now
* commentary
* prettify ping_pong's poll
* test ping pong and passthrough
* add buffering test
* Use a fixed-size slice for ping payloads
* Improve pong dispatch
pong messages should be buffered until Stream::poll returns
Async::NotReady or Async::Ready(None) (i.e. such that it is not expected
to be polled again). pong messages are now dispatched when no more data
may be polled or the Sink half is activated.
* revert name change
* touchup
* wip
* Simplify Stream::poll
Now PingPong only holds at most one pending pong and the stream will not
produce additional frames unti the ping has been sent.
Furthermore, we shouldn't have to call inner.poll_complete quite so
frequently.
* avoid Bytes::split_to
* only use buf internally to Ping::load