moremind commented on issue #3660:
URL:
https://github.com/apache/incubator-shenyu/issues/3660#issuecomment-1173548437
> > > in `org.apache.shenyu.plugin.base.RpcParamTransformPlugin` make sure
that
> > > ```java
> > > private Mono<Void> body(final ServerWebExchange exchange, final
ServerHttpRequest serverHttpRequest, final ShenyuPluginChain chain) {
> > > return
Mono.from(DataBufferUtils.join(serverHttpRequest.getBody())
> > > .flatMap(body -> {
> > >
exchange.getAttributes().put(Constants.PARAM_TRANSFORM,
resolveBodyFromRequest(body));
> > > return chain.execute(exchange);
> > > }));
> > > }
> > > ```
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > this is look like #3158
> >
> >
> > Yes, how to reassign the size of the Databuffer in this place
>
> not reassign, data buffer is 1024, you can use `return
Mono.from(DataBufferUtils.join(serverHttpRequest.getBody())` ->
`DataBufferUtils.join()` collect data buffer.
make sure your code same to above code.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscr...@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org