Commit d1a85d3
fix(http2/transport): send an error of FLOW_CONTROL_ERROR when exceed the maximum octets
According to rfc9113, if a sender receives a WINDOW_UPDATE that causes a flow-control window to
exceed this maximum, it MUST terminate either the stream or the connection, as appropriate. For
streams, the sender sends a RST_STREAM with an error code of FLOW_CONTROL_ERROR.
Signed-off-by: bestgopher <84328409@qq.com>1 parent 73e4b50 commit d1a85d3
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2911 | 2911 | | |
2912 | 2912 | | |
2913 | 2913 | | |
| 2914 | + | |
| 2915 | + | |
| 2916 | + | |
| 2917 | + | |
| 2918 | + | |
| 2919 | + | |
| 2920 | + | |
| 2921 | + | |
| 2922 | + | |
2914 | 2923 | | |
2915 | 2924 | | |
2916 | 2925 | | |
| |||
0 commit comments