Skip to content

Commit

Permalink
build: upgrade Netty and Reactor-Netty
Browse files Browse the repository at this point in the history
  • Loading branch information
NiccoMlt committed Oct 18, 2024
1 parent b2c024d commit bf91df1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ public void testClosedProxy(String scheme) throws Exception {
.withHeader("Content-Type", "text/html")
.withHeader("Content-Length", "it <b>works</b> !!".length() + "")
.withBody("it <b>works</b> !!")));
String s = client.executeRequest("GET " + scheme + "://yahoo.com/index.html?p1=v1&p2=https://localhost/index.html?p=1 HTTP/1.1 \r\nHost: localhost\r\n\r\n").getBodyString();
String s = client.executeRequest("GET " + scheme + "://yahoo.com/index.html?p1=v1&p2=https://localhost/index.html?p=1 HTTP/1.1\r\nHost: localhost\r\n\r\n").getBodyString();
assertEquals("it <b>works</b> !!", s);
s = client.get("/index.html?p1=v1&p2=https://localhost/index.html?p=1").getBodyString();
assertEquals("it <b>works</b> !!", s);
Expand All @@ -773,7 +773,7 @@ public void testClosedProxy(String scheme) throws Exception {
.withHeader("Content-Type", "text/html")
.withHeader("Content-Length", "it <b>works</b> !!".length() + "")
.withBody("it <b>works</b> !!")));
s = client.executeRequest("GET " + scheme + "://yahoo.com/index.html HTTP/1.1 \r\nHost: localhost\r\n\r\n").getBodyString();
s = client.executeRequest("GET " + scheme + "://yahoo.com/index.html HTTP/1.1\r\nHost: localhost\r\n\r\n").getBodyString();
assertEquals("it <b>works</b> !!", s);
s = client.get("/index.html").getBodyString();
assertEquals("it <b>works</b> !!", s);
Expand All @@ -785,11 +785,11 @@ public void testClosedProxy(String scheme) throws Exception {
.withHeader("Content-Type", "text/html")
.withHeader("Content-Length", "it <b>works</b> !!".length() + "")
.withBody("it <b>works</b> !!")));
s = client.executeRequest("GET " + scheme + "://yahoo.com/?p1=v1&p2=https://localhost/index.html?p=1 HTTP/1.1 \r\nHost: localhost\r\n\r\n").getBodyString();
s = client.executeRequest("GET " + scheme + "://yahoo.com/?p1=v1&p2=https://localhost/index.html?p=1 HTTP/1.1\r\nHost: localhost\r\n\r\n").getBodyString();
assertEquals("it <b>works</b> !!", s);
s = client.get("/?p1=v1&p2=https://localhost/index.html?p=1").getBodyString();
assertEquals("it <b>works</b> !!", s);
s = client.executeRequest("GET " + scheme + "://yahoo.com?p1=v1&p2=https://localhost/index.html?p=1 HTTP/1.1 \r\nHost: localhost\r\n\r\n").getBodyString();
s = client.executeRequest("GET " + scheme + "://yahoo.com?p1=v1&p2=https://localhost/index.html?p=1 HTTP/1.1\r\nHost: localhost\r\n\r\n").getBodyString();
assertEquals("it <b>works</b> !!", s);
s = client.get("?p1=v1&p2=https://localhost/index.html?p=1").getBodyString();
assertEquals("it <b>works</b> !!", s);
Expand All @@ -800,11 +800,11 @@ public void testClosedProxy(String scheme) throws Exception {
.withHeader("Content-Type", "text/html")
.withHeader("Content-Length", "it <b>works</b> !!".length() + "")
.withBody("it <b>works</b> !!")));
s = client.executeRequest("GET " + scheme + "://yahoo.com/ HTTP/1.1 \r\nHost: localhost\r\n\r\n").getBodyString();
s = client.executeRequest("GET " + scheme + "://yahoo.com/ HTTP/1.1\r\nHost: localhost\r\n\r\n").getBodyString();
assertEquals("it <b>works</b> !!", s);
s = client.get("/").getBodyString();
assertEquals("it <b>works</b> !!", s);
s = client.executeRequest("GET " + scheme + "://yahoo.com HTTP/1.1 \r\nHost: localhost\r\n\r\n").getBodyString();
s = client.executeRequest("GET " + scheme + "://yahoo.com HTTP/1.1\r\nHost: localhost\r\n\r\n").getBodyString();
assertEquals("it <b>works</b> !!", s);
}
}
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@
<maven.compiler.release>${toolchain.java.version}</maven.compiler.release>
<javacc-maven-plugin.version>2.4</javacc-maven-plugin.version>

<libs.projectreactor>2022.0.7</libs.projectreactor>
<libs.netty>4.1.92.Final</libs.netty>
<libs.projectreactor>2023.0.11</libs.projectreactor>
<libs.netty>4.1.114.Final</libs.netty>
<libs.acme4j>2.12</libs.acme4j>
<libs.bouncycastle>1.70</libs.bouncycastle>
<libs.awssdk>2.17.113</libs.awssdk>
Expand Down

0 comments on commit bf91df1

Please sign in to comment.