Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
<checkstyle.version>12.3.1</checkstyle.version>
<mockito.version>5.23.0</mockito.version>
<jctools.version>4.0.6</jctools.version>
<netty.version>4.1.135.Final</netty.version>
<netty.version>4.1.136.Final</netty.version>
<hdrhistogram.version>2.2.2</hdrhistogram.version>
<curator.version>5.9.0</curator.version>
<zookeeper.version>3.9.5</zookeeper.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ public void configureBroker() throws Exception {
@Test
public void testConnectWithLargePassword() throws Exception {
for (String version : Arrays.asList("3.1", "3.1.1")) {
String longString = new String(new char[65535]);
// MQTT forbids U+0000 in UTF-8 Encoded Strings (MQTT-1.5.3-2 / MQTT-1.5.4-2).
// Netty enforces this more strictly since 4.1.136.
String longString = "x".repeat(65535);

BlockingConnection connection = null;
try {
Expand Down
Loading