This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push: new c78b278 Another fix for BZ 64830 c78b278 is described below commit c78b27815c626596d722cc2dc97202773c5f43cc Author: Mark Thomas <ma...@apache.org> AuthorDate: Mon Nov 9 19:40:31 2020 +0000 Another fix for BZ 64830 https://bz.apache.org/bugzilla/show_bug.cgi?id=64830 --- java/org/apache/coyote/http2/ConnectionSettingsBase.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java/org/apache/coyote/http2/ConnectionSettingsBase.java b/java/org/apache/coyote/http2/ConnectionSettingsBase.java index ed0dcd3..042fb0c 100644 --- a/java/org/apache/coyote/http2/ConnectionSettingsBase.java +++ b/java/org/apache/coyote/http2/ConnectionSettingsBase.java @@ -16,8 +16,8 @@ */ package org.apache.coyote.http2; -import java.util.EnumMap; import java.util.Map; +import java.util.concurrent.ConcurrentHashMap; import org.apache.juli.logging.Log; import org.apache.juli.logging.LogFactory; @@ -45,8 +45,8 @@ abstract class ConnectionSettingsBase<T extends Throwable> { static final int DEFAULT_MAX_FRAME_SIZE = MIN_MAX_FRAME_SIZE; static final long DEFAULT_MAX_HEADER_LIST_SIZE = 1 << 15; - Map<Setting, Long> current = new EnumMap<>(Setting.class); - Map<Setting, Long> pending = new EnumMap<>(Setting.class); + Map<Setting, Long> current = new ConcurrentHashMap<>(); + Map<Setting, Long> pending = new ConcurrentHashMap<>(); ConnectionSettingsBase(String connectionId) { --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org