Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
Increase max string size
Browse files Browse the repository at this point in the history
  • Loading branch information
andantet committed Nov 9, 2023
1 parent 7d3f347 commit c140f84
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public enum ProtocolUtils {
.legacyHoverEventSerializer(VelocityLegacyHoverEventSerializer.INSTANCE)
.build();

public static final int DEFAULT_MAX_STRING_SIZE = 65536; // 64KiB
public static final int DEFAULT_MAX_STRING_SIZE = 65536 * 8; // 64KiB
private static final QuietDecoderException BAD_VARINT_CACHED =
new QuietDecoderException("Bad VarInt decoded");
private static final int[] VARINT_EXACT_BYTE_LENGTHS = new int[33];
Expand Down

0 comments on commit c140f84

Please sign in to comment.