You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by "Aias00 (via GitHub)" <gi...@apache.org> on 2026/08/03 01:12:01 UTC

[I] [BUG] TcpBootstrapServer.shutdown never disposes the upstream ConnectionProvider (connection-pool leak) [shenyu]

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

   - severity: Medium
   - files: `shenyu-protocol/shenyu-protocol-tcp/src/main/java/org/apache/shenyu/protocol/tcp/TcpBootstrapServer.java:128-131`; `connection/ConnectionContext.java:46-59`
   - description: `ConnectionContext.init` builds a pooled `ConnectionProvider` and stores it in `connectionProvider`. `TcpBootstrapServer.shutdown()` disposes `server` and `loopResources` but never disposes `connectionContext`'s `ConnectionProvider`.
   - impact: Upstream connection pool leaks on shutdown; pooled channels to backends are not released.
   - suggested_fix: Expose a `dispose()` on `ConnectionContext` and call it in `shutdown()`.
   - confidence: High
   - related_existing: none — #5047 is the TCP plugin event-loop leak; this is the protocol module's upstream pool.
   
   ---
   _Identified during the 2026-08-02 deep re-scan; full list in [`docs/scan2-2026-08-02/06-medium-tiers.md`](docs/scan2-2026-08-02/06-medium-tiers.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: notifications-unsubscribe@shenyu.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [BUG] TcpBootstrapServer.shutdown never disposes the upstream ConnectionProvider (connection-pool leak) [shenyu]

Posted by "Aias00 (via GitHub)" <gi...@apache.org>.
Aias00 closed issue #6753: [BUG] TcpBootstrapServer.shutdown never disposes the upstream ConnectionProvider (connection-pool leak)
URL: https://github.com/apache/shenyu/issues/6753


-- 
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-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [BUG] TcpBootstrapServer.shutdown never disposes the upstream ConnectionProvider (connection-pool leak) [shenyu]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #6753:
URL: https://github.com/apache/shenyu/issues/6753#issuecomment-5161313474

   👋 Hello @yuluo-yx
   
   A new issue has been opened by @Aias00:
   - **Title**: [BUG] TcpBootstrapServer.shutdown never disposes the upstream ConnectionProvider (connection-pool leak)
   - **Link**: https://github.com/apache/shenyu/issues/6753
   
   Please review when you have time. Thank you! 🙏


-- 
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-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org