Skip to content

Commit

Permalink
LDEV-5140 better default size for http req attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Nov 6, 2024
1 parent a32faf3 commit 303af75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/lucee/runtime/net/http/HttpUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public static Pair<String, String>[] 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()) {
Expand Down

0 comments on commit 303af75

Please sign in to comment.