add support for configuring max frame size
- Adds `max_frame_size` to client and server builders - Pushes max_frame_size into Codec - Detects when the Codec triggers an error from a frame too big - Sends a GOAWAY when FRAME_SIZE_ERROR is encountered reading a frame
This commit is contained in:
@@ -33,7 +33,7 @@ impl Reason {
|
||||
FlowControlError => "flow-control protocol violated",
|
||||
SettingsTimeout => "settings ACK not received in timely manner",
|
||||
StreamClosed => "received frame when stream half-closed",
|
||||
FrameSizeError => "frame sent with invalid size",
|
||||
FrameSizeError => "frame with invalid size",
|
||||
RefusedStream => "refused stream before processing any application logic",
|
||||
Cancel => "stream no longer needed",
|
||||
CompressionError => "unable to maintain the header compression context",
|
||||
|
||||
Reference in New Issue
Block a user