dengliming opened a new pull request, #7087: URL: https://github.com/apache/shenyu/pull/7087
Fixes #6724 Response writers now attach discard cleanup to the original body stream instead of subscribing to single-use response bodies a second time after an error. The Netty connection is also disposed when response writing fails. The regression test verifies that an erroring WebClient response body is subscribed exactly once. Test: - `mvn -pl shenyu-plugin/shenyu-plugin-response -am -DskipTests=false -Dcheckstyle.skip=false -Dtest=WebClientMessageWriterTest,NettyClientMessageWriterTest -DfailIfNoTests=false test` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
