You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2023/01/20 19:04:51 UTC
[tomcat] 02/12: Add NO_RFC7540_PRIORITIES setting to enum
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit abf5114ab3c230bdd3c033c50e56004b3e486164
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Dec 6 18:00:48 2022 +0000
Add NO_RFC7540_PRIORITIES setting to enum
---
java/org/apache/coyote/http2/Setting.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/java/org/apache/coyote/http2/Setting.java b/java/org/apache/coyote/http2/Setting.java
index 54b99dacba..29dc73f201 100644
--- a/java/org/apache/coyote/http2/Setting.java
+++ b/java/org/apache/coyote/http2/Setting.java
@@ -23,6 +23,7 @@ enum Setting {
INITIAL_WINDOW_SIZE(4),
MAX_FRAME_SIZE(5),
MAX_HEADER_LIST_SIZE(6),
+ NO_RFC7540_PRIORITIES(9),
UNKNOWN(Integer.MAX_VALUE);
private final int id;
@@ -60,6 +61,9 @@ enum Setting {
case 6: {
return MAX_HEADER_LIST_SIZE;
}
+ case 9: {
+ return NO_RFC7540_PRIORITIES;
+ }
default: {
return Setting.UNKNOWN;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org