We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 13a7c9f + ecf7321 commit a49bad2Copy full SHA for a49bad2
2 files changed
Changes
@@ -1,6 +1,7 @@
1
Revision history for Cro::HTTP
2
3
{{$NEXT}}
4
+ - Avoid sending a 0-byte WINDOW_UPDATE frame.
5
- Permit use of updated HTTP::Pack module, Samuel Gillespie++
6
7
0.8.10
lib/Cro/HTTP2/FrameParser.rakumod
@@ -67,10 +67,12 @@ class Cro::HTTP2::FrameParser does Cro::Transform does Cro::ConnectionState[Cro:
67
if $result.end-stream {
68
start {
69
my $bytes = $result.data.bytes;
70
- $connection-state.window-size.emit:
71
- Cro::HTTP2::Frame::WindowUpdate.new:
72
- stream-identifier => 0,
73
- flags => 0, increment => $bytes;
+ if $bytes > 0 {
+ $connection-state.window-size.emit:
+ Cro::HTTP2::Frame::WindowUpdate.new:
+ stream-identifier => 0,
74
+ flags => 0, increment => $bytes;
75
+ }
76
}
77
78
else {
0 commit comments