We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d4fa88 commit d9eb309Copy full SHA for d9eb309
vertx-core/src/test/java/io/vertx/tests/http/Http1xTest.java
@@ -2709,10 +2709,10 @@ public void testConnectionCloseHttp_1_0_Close() throws Exception {
2709
socket.handler(RecordParser.newDelimited("\r\n\r\n", buffer -> {
2710
if (firstRequest.getAndSet(false)) {
2711
socket.write("HTTP/1.0 200 OK\r\n" + "Content-Type: text/plain\r\n" + "Content-Length: 4\r\n"
2712
- + "Connection: keep-alive\r\n" + "\n" + "xxx\n");
+ + "Connection: keep-alive\r\n" + "\r\n" + "xxx\r\n");
2713
} else {
2714
socket.write("HTTP/1.0 200 OK\r\n" + "Content-Type: text/plain\r\n" + "Content-Length: 1\r\n"
2715
- + "\r\n" + "\n");
+ + "\r\n" + "\r\n");
2716
socket.close();
2717
}
2718
}));
0 commit comments