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
* Bumped the rate control rate from 50 events/s to 128.
* Added rate control for all CONTINUATION frames.
* Added rate control for invalid PUSH_PROMISE frames.
* Added rate control for RST_STREAM frames.
* Added rate control for all SETTINGS frames.
* Fixed growth of header block accumulation buffer.
Signed-off-by: Simone Bordet <[email protected]>
Copy file name to clipboardExpand all lines: jetty-core/jetty-http2/jetty-http2-common/src/main/java/org/eclipse/jetty/http2/parser/ContinuationBodyParser.java
+26-10
Original file line number
Diff line number
Diff line change
@@ -76,16 +76,28 @@ public boolean parse(ByteBuffer buffer)
Copy file name to clipboardExpand all lines: jetty-core/jetty-http2/jetty-http2-common/src/main/java/org/eclipse/jetty/http2/parser/HeaderBlockFragments.java
Copy file name to clipboardExpand all lines: jetty-core/jetty-http2/jetty-http2-common/src/main/java/org/eclipse/jetty/http2/parser/HeadersBodyParser.java
+27-10
Original file line number
Diff line number
Diff line change
@@ -75,8 +75,15 @@ else if (hasFlag(Flags.END_HEADERS))
Copy file name to clipboardExpand all lines: jetty-core/jetty-http2/jetty-http2-common/src/main/java/org/eclipse/jetty/http2/parser/PushPromiseBodyParser.java
Copy file name to clipboardExpand all lines: jetty-core/jetty-http2/jetty-http2-common/src/main/java/org/eclipse/jetty/http2/parser/ResetBodyParser.java
+5-3
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ public boolean parse(ByteBuffer buffer)
58
58
{
59
59
if (buffer.remaining() >= 4)
60
60
{
61
-
returnonReset(buffer.getInt());
61
+
returnonReset(buffer, buffer.getInt());
62
62
}
63
63
else
64
64
{
@@ -73,7 +73,7 @@ public boolean parse(ByteBuffer buffer)
73
73
--cursor;
74
74
error += currByte << (8 * cursor);
75
75
if (cursor == 0)
76
-
returnonReset(error);
76
+
returnonReset(buffer, error);
77
77
break;
78
78
}
79
79
default:
@@ -85,9 +85,11 @@ public boolean parse(ByteBuffer buffer)
Copy file name to clipboardExpand all lines: jetty-core/jetty-http2/jetty-http2-common/src/main/java/org/eclipse/jetty/http2/parser/SettingsBodyParser.java
Copy file name to clipboardExpand all lines: jetty-core/jetty-http2/jetty-http2-common/src/main/java/org/eclipse/jetty/http2/parser/UnknownBodyParser.java
-1
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,6 @@ public boolean parse(ByteBuffer buffer)
35
35
booleanparsed = cursor == 0;
36
36
if (parsed && !rateControlOnEvent(newUnknownFrame(getFrameType())))
0 commit comments