Aias00 opened a new issue, #6642:
URL: https://github.com/apache/shenyu/issues/6642

   - severity: High
   - files: 
`shenyu-plugin/shenyu-plugin-mcp-server/src/main/java/org/apache/shenyu/plugin/mcp/server/response/ShenyuMcpResponseDecorator.java:83-86`
   - description: `writeAndFlushWith` delegates straight to 
`super.writeAndFlushWith(body)` without reading/capturing the stream. For 
chunked/streamed upstream responses, `responseFuture` is never completed, so 
`ShenyuToolCallback.call` blocks on `responseFuture.get(60s)` and then throws 
timeout.
   - impact: Tool calls against chunked/streamed upstreams always time out 
(60s) and return an error to the MCP client.
   - suggested_fix: Capture data in `writeAndFlushWith` the same way as 
`writeWith`, then complete the future on completion.
   - confidence: High
   - related_existing: none — #6134 (multi-tool timeout) is a different root 
cause.
   
   ---
   _Identified during the 2026-08-02 deep re-scan; full list in 
[`docs/scan2-2026-08-02/00-consolidated-critical-high.md`](docs/scan2-2026-08-02/00-consolidated-critical-high.md)._


-- 
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]

Reply via email to