diff --git a/docs/src/main/asciidoc/_configprops.adoc b/docs/src/main/asciidoc/_configprops.adoc index 67528dc3c..e2924411f 100644 --- a/docs/src/main/asciidoc/_configprops.adoc +++ b/docs/src/main/asciidoc/_configprops.adoc @@ -43,12 +43,9 @@ |spring.cloud.gateway.httpclient.proxy.username | | Username for proxy configuration of Netty HttpClient. |spring.cloud.gateway.httpclient.response-timeout | | The response timeout. |spring.cloud.gateway.httpclient.ssl.close-notify-flush-timeout | 3000ms | SSL close_notify flush timeout. Default to 3000 ms. -|spring.cloud.gateway.httpclient.ssl.close-notify-flush-timeout-millis | | |spring.cloud.gateway.httpclient.ssl.close-notify-read-timeout | | SSL close_notify read timeout. Default to 0 ms. -|spring.cloud.gateway.httpclient.ssl.close-notify-read-timeout-millis | | |spring.cloud.gateway.httpclient.ssl.default-configuration-type | | The default ssl configuration type. Defaults to TCP. |spring.cloud.gateway.httpclient.ssl.handshake-timeout | 10000ms | SSL handshake timeout. Default to 10000 ms -|spring.cloud.gateway.httpclient.ssl.handshake-timeout-millis | | |spring.cloud.gateway.httpclient.ssl.key-password | | Key password, default is same as keyStorePassword. |spring.cloud.gateway.httpclient.ssl.key-store | | Keystore path for Netty HttpClient. |spring.cloud.gateway.httpclient.ssl.key-store-password | | Keystore password. diff --git a/spring-cloud-gateway-core/src/main/java/org/springframework/cloud/gateway/filter/factory/rewrite/ModifyResponseBodyGatewayFilterFactory.java b/spring-cloud-gateway-core/src/main/java/org/springframework/cloud/gateway/filter/factory/rewrite/ModifyResponseBodyGatewayFilterFactory.java index 2332dc874..76936b50e 100644 --- a/spring-cloud-gateway-core/src/main/java/org/springframework/cloud/gateway/filter/factory/rewrite/ModifyResponseBodyGatewayFilterFactory.java +++ b/spring-cloud-gateway-core/src/main/java/org/springframework/cloud/gateway/filter/factory/rewrite/ModifyResponseBodyGatewayFilterFactory.java @@ -261,7 +261,7 @@ public class ModifyResponseBodyGatewayFilterFactory extends private ClientResponse prepareClientResponse(Publisher body, HttpHeaders httpHeaders) { ClientResponse.Builder builder; - builder = ClientResponse.create(exchange.getResponse().getStatusCode(), + builder = ClientResponse.create(exchange.getResponse().getStatusCode(), messageReaders); return builder.headers(headers -> headers.putAll(httpHeaders)) .body(Flux.from(body)).build();