qianye1001 commented on issue #10398:
URL: https://github.com/apache/rocketmq/issues/10398#issuecomment-4560656951

   ## ✅ Pull Request Submitted
   
   Based on the community approval (`/approve` from @qianye1001), I've 
submitted a fix for this issue.
   
   **PR:** #10399 — [ISSUE #10398] Fix native memory leak on TLS certificate 
hot-reload
   
   **Summary of changes:**
   - `NettyRemotingServer.loadSslContext()` — release old `SslContext` before 
assigning new one
   - `ProxyAndTlsProtocolNegotiator.loadSslContext()` — add `volatile` modifier 
+ release old `SslContext`
   
   **Fix strategy:** Build new context → save old reference → assign new → 
release old (in try-catch)
   
   The PR will be monitored for CI status. If CI fails, I'll attempt automatic 
fixes.
   


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