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
seanmonstar opened this issue
Jun 6, 2018
· 0 comments
Labels
A-bodyArea: body streaming.A-http2Area: HTTP/2 specific.C-featureCategory: feature. This is adding a new feature.E-easyEffort: easy. A task that would be a great starting point for a new contributor.
Currently sending bodies will just push unbounded into the h2 buffer. While this works, unbounded buffering is not so great. Instead, hyper should check for existing window capacity before polling the body for data.
Steps to fix
Basically, update proto::h2::PipeToSendStream similar to how it was done in this commit.
The text was updated successfully, but these errors were encountered:
seanmonstar
added
E-easy
Effort: easy. A task that would be a great starting point for a new contributor.
C-feature
Category: feature. This is adding a new feature.
A-body
Area: body streaming.
A-http2
Area: HTTP/2 specific.
labels
Jun 6, 2018
sfackler
added a commit
to sfackler/hyper
that referenced
this issue
Jun 10, 2018
This is implemented sligntly differently than what the TODO comment
said, but matches with tower-h2's implementation. h2 already handles the
buffering of the pending chunk and capacity management for it, so we
just want to make sure there's some capacity available (i.e. the
previous chunk has been fully written out).
Closeshyperium#1548
This is implemented sligntly differently than what the TODO comment
said, but matches with tower-h2's implementation. h2 already handles the
buffering of the pending chunk and capacity management for it, so we
just want to make sure there's some capacity available (i.e. the
previous chunk has been fully written out).
Closeshyperium#1548
A-bodyArea: body streaming.A-http2Area: HTTP/2 specific.C-featureCategory: feature. This is adding a new feature.E-easyEffort: easy. A task that would be a great starting point for a new contributor.
Currently sending bodies will just push unbounded into the h2 buffer. While this works, unbounded buffering is not so great. Instead, hyper should check for existing window capacity before polling the body for data.
Steps to fix
proto::h2::PipeToSendStream
similar to how it was done in this commit.The text was updated successfully, but these errors were encountered: