From 303af758b496a682fb38487a2885ac010f01ff41 Mon Sep 17 00:00:00 2001 From: Zac Spitzer Date: Wed, 6 Nov 2024 14:31:27 +0100 Subject: [PATCH] LDEV-5140 better default size for http req attributes --- core/src/main/java/lucee/runtime/net/http/HttpUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/lucee/runtime/net/http/HttpUtil.java b/core/src/main/java/lucee/runtime/net/http/HttpUtil.java index fb7eedb267..ad4c045ff1 100644 --- a/core/src/main/java/lucee/runtime/net/http/HttpUtil.java +++ b/core/src/main/java/lucee/runtime/net/http/HttpUtil.java @@ -56,7 +56,7 @@ public static Pair[] cloneHeaders(HttpServletRequest req) { } public static Struct getAttributesAsStruct(HttpServletRequest req) { - Struct attributes = new StructImpl(); + Struct attributes = new StructImpl(StructImpl.TYPE_UNDEFINED, 64 ); Enumeration e = req.getAttributeNames(); String name; while (e.hasMoreElements()) {