diff --git a/docs/asciidoc/http-client.adoc b/docs/asciidoc/http-client.adoc index 7bf7e1f8aa..2984ac8416 100644 --- a/docs/asciidoc/http-client.adoc +++ b/docs/asciidoc/http-client.adoc @@ -198,7 +198,7 @@ By default, the `HTTP` client is configured with the following settings: [source,java,indent=0] .{sourcedir}/reactor/netty/http/HttpDecoderSpec.java ---- -include::{sourcedir}/reactor/netty/http/HttpDecoderSpec.java[lines=28..39] +include::{sourcedir}/reactor/netty/http/HttpDecoderSpec.java[lines=28..40] ---- ==== ==== diff --git a/docs/asciidoc/http-server.adoc b/docs/asciidoc/http-server.adoc index a78da049b2..809ea035c8 100644 --- a/docs/asciidoc/http-server.adoc +++ b/docs/asciidoc/http-server.adoc @@ -315,14 +315,14 @@ By default, the `HTTP` server is configured with the following settings: [source,java,indent=0] .{sourcedir}/reactor/netty/http/HttpDecoderSpec.java ---- -include::{sourcedir}/reactor/netty/http/HttpDecoderSpec.java[lines=28..39] +include::{sourcedir}/reactor/netty/http/HttpDecoderSpec.java[lines=28..40] ---- ==== ==== [source,java,indent=0] .{sourcedir}/reactor/netty/http/server/HttpRequestDecoderSpec.java ---- -include::{sourcedir}/reactor/netty/http/server/HttpRequestDecoderSpec.java[lines=41..46] +include::{sourcedir}/reactor/netty/http/server/HttpRequestDecoderSpec.java[lines=42..47] ---- ==== 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 6ed2d7835d..9e3acc3e5c 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 @@ -37,7 +37,7 @@ public abstract class HttpDecoderSpec> implements S public static final boolean DEFAULT_VALIDATE_HEADERS = true; public static final int DEFAULT_INITIAL_BUFFER_SIZE = 128; public static final boolean DEFAULT_ALLOW_DUPLICATE_CONTENT_LENGTHS = false; - public static final boolean DEFAULT_ALLOW_PARTIAL_CHUNKS = true; + public static final boolean DEFAULT_ALLOW_PARTIAL_CHUNKS = true; protected int maxInitialLineLength = DEFAULT_MAX_INITIAL_LINE_LENGTH; protected int maxHeaderSize = DEFAULT_MAX_HEADER_SIZE;