-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
hyperium/h2
#673Labels
A-http2Area: HTTP/2 specific.Area: HTTP/2 specific.C-featureCategory: feature. This is adding a new feature.Category: feature. This is adding a new feature.E-easyEffort: easy. A task that would be a great starting point for a new contributor.Effort: easy. A task that would be a great starting point for a new contributor.
Description
It would be useful to be able to send the additional debug_data
in HTTP/2 GOAWAY frames. The frame currently has a field to hold it, and uses that when decoding, but if we try to send a frame with extra data, it gets ignored. Here's some steps to get this done:
- Set the payload length and serialize the
debug_data
inGoAway::encode
- Add a
fn data(self, b: Into<Bytes>)
method to the frames test support. - Add a unit test to
h2-tests
showing debug data was serialized.
Metadata
Metadata
Assignees
Labels
A-http2Area: HTTP/2 specific.Area: HTTP/2 specific.C-featureCategory: feature. This is adding a new feature.Category: feature. This is adding a new feature.E-easyEffort: easy. A task that would be a great starting point for a new contributor.Effort: easy. A task that would be a great starting point for a new contributor.