Skip to content

Commit

Permalink
Merge e677444 into 1.2.0-RC1
Browse files Browse the repository at this point in the history
  • Loading branch information
violetagg committed Oct 7, 2024
2 parents 4c29d88 + e677444 commit 101aa02
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/http-client.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ By default, the `HTTP` client is configured with the following settings:
{http-source-link}/reactor/netty/http/HttpDecoderSpec.java
[%unbreakable]
----
include::{sourcedir}/reactor/netty/http/HttpDecoderSpec.java[lines=28..39]
include::{sourcedir}/reactor/netty/http/HttpDecoderSpec.java[lines=28..40]
----

{http-source-link}/reactor/netty/http/client/HttpResponseDecoderSpec.java
Expand Down
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/http-server.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -295,13 +295,13 @@ By default, the `HTTP` server is configured with the following settings:
{http-source-link}/reactor/netty/http/HttpDecoderSpec.java
[%unbreakable]
----
include::{sourcedir}/reactor/netty/http/HttpDecoderSpec.java[lines=28..39]
include::{sourcedir}/reactor/netty/http/HttpDecoderSpec.java[lines=28..40]
----

{http-source-link}/reactor/netty/http/server/HttpRequestDecoderSpec.java
[%unbreakable]
----
include::{sourcedir}/reactor/netty/http/server/HttpRequestDecoderSpec.java[lines=41..46]
include::{sourcedir}/reactor/netty/http/server/HttpRequestDecoderSpec.java[lines=42..47]
----

When you need to change these default settings, you can configure the `HTTP` server as follows:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public abstract class HttpDecoderSpec<T extends HttpDecoderSpec<T>> 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;
Expand Down

0 comments on commit 101aa02

Please sign in to comment.