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 2020/11/09 19:43:34 UTC
[tomcat] branch 8.5.x updated: Another fix for BZ 64830
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push:
new 97106fc Another fix for BZ 64830
97106fc is described below
commit 97106fc0844b033cb648d30bacf39848734049f2
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 8021b01..5b04905 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.HashMap;
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 @@ public abstract class ConnectionSettingsBase<T extends Throwable> {
protected static final int DEFAULT_MAX_FRAME_SIZE = MIN_MAX_FRAME_SIZE;
protected static final long DEFAULT_MAX_HEADER_LIST_SIZE = 1 << 15;
- protected Map<Setting,Long> current = new HashMap<>();
- protected Map<Setting,Long> pending = new HashMap<>();
+ protected Map<Setting,Long> current = new ConcurrentHashMap<>();
+ protected Map<Setting,Long> pending = new ConcurrentHashMap<>();
public ConnectionSettingsBase(String connectionId) {
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org