spring-cloud-gateway icon indicating copy to clipboard operation
spring-cloud-gateway copied to clipboard

Connection closed prematurely

Open bentenzheng opened this issue 7 years ago • 3 comments

Code: ServerWebExchange build = exchange.mutate().request(new ServerHttpRequestDecorator(exchange.getRequest()) { @Override public Flux getBody() { return Flux.just(bodyDataBuffer); } }).build();

When i am using "gatewayfilter" modify the request body , will get error "java.io.IOException: Connection closed prematurely". The reference version message : springgateway 2.0.1.RELEASE springboot 2.0.1.RELEASE

bentenzheng avatar Dec 25 '18 08:12 bentenzheng

Please learn how to format code on GitHub.

This does not give us enough information of what the problem is. Please provide a detailed description as well as a sample that reproduces the problem.

ryanjbaxter avatar Jan 08 '19 00:01 ryanjbaxter

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

spring-projects-issues avatar Jan 15 '19 19:01 spring-projects-issues

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.

spring-projects-issues avatar Jan 22 '19 00:01 spring-projects-issues