From f1efa19406fd2dced3c44577eb2d63ae4b695679 Mon Sep 17 00:00:00 2001 From: Andrew Ross Date: Fri, 18 Oct 2024 07:06:20 -0500 Subject: [PATCH 1/2] Fix typo in javadoc for allowPartialChunks setting (#3471) Signed-off-by: Andrew Ross --- .../src/main/java/reactor/netty/http/HttpDecoderSpec.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactor-netty-http/src/main/java/reactor/netty/http/HttpDecoderSpec.java b/reactor-netty-http/src/main/java/reactor/netty/http/HttpDecoderSpec.java index 9e3acc3e5..885bff37f 100644 --- a/reactor-netty-http/src/main/java/reactor/netty/http/HttpDecoderSpec.java +++ b/reactor-netty-http/src/main/java/reactor/netty/http/HttpDecoderSpec.java @@ -244,7 +244,7 @@ public T allowPartialChunks(boolean allowPartialChunks) { * Return the configuration whether chunks can be split into multiple messages, if their chunk size * exceeds the size of the input buffer. * - * @return the configuration whether to allow duplicate {@code Content-Length} headers + * @return whether to only allow sending whole chunks down the pipeline. * @since 1.1.23 */ public boolean allowPartialChunks() { From 421ddafb6be704c1c58ff852dbd732b6eecd84f9 Mon Sep 17 00:00:00 2001 From: Andrew Ross Date: Fri, 18 Oct 2024 07:06:20 -0500 Subject: [PATCH 2/2] Fix typo in javadoc for allowPartialChunks setting (#3471) Signed-off-by: Andrew Ross --- .../src/main/java/reactor/netty/http/HttpDecoderSpec.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactor-netty-http/src/main/java/reactor/netty/http/HttpDecoderSpec.java b/reactor-netty-http/src/main/java/reactor/netty/http/HttpDecoderSpec.java index 9e3acc3e5..885bff37f 100644 --- a/reactor-netty-http/src/main/java/reactor/netty/http/HttpDecoderSpec.java +++ b/reactor-netty-http/src/main/java/reactor/netty/http/HttpDecoderSpec.java @@ -244,7 +244,7 @@ public T allowPartialChunks(boolean allowPartialChunks) { * Return the configuration whether chunks can be split into multiple messages, if their chunk size * exceeds the size of the input buffer. * - * @return the configuration whether to allow duplicate {@code Content-Length} headers + * @return whether to only allow sending whole chunks down the pipeline. * @since 1.1.23 */ public boolean allowPartialChunks() {