GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||
GeezerVison is showing github.com — Fix flaky memory leak detection in OcspServerCertificateValidatorTest by normanmaurer · Pull Request #17536 · netty/netty Conversation
Member
Motivation: The server-side child channel accepted for the TLS connection in Modifications:
Result: More stable CI
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsMotivation: The server-side child channel accepted for the TLS connection in validateCertificate() was never closed explicitly. Its cleanup depended entirely on the local EventLoopGroup's shutdownGracefully(0, 1, SECONDS), which cancels scheduled tasks as soon as shutdown begins. Under CI load the SslHandler close_notify flush/timeout could lose that race, leaving the SSLEngine and its cached key material to be released later by GC finalization instead, which intermittently tripped the leak presence detector's 5 second grace period. Modifications: - Capture the accepted server-side child channel and close it explicitly before releasing serverSslContext and shutting down the group Result: More stable CI
Member
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
✅ All tests passed ✅Test SummaryBuild PR / windows-x86_64-java11-boringssl > Netty/Common
🏷️ Commit: 6bd4d9c Test FailuresAutoScalingEventExecutorChooserFactoryTest > testScaleUp() (Netty/Common in Build PR / windows-x86_64-java11-boringssl | Attempt 1/2)
Learn more about TestLens at testlens.app/docs. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Auto-port PR for 5.0: #17546 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…teValidatorTest (#17546) Auto-port of #17536 to 5.0 Cherry-picked commit: 9f4dc37 --- Motivation: The server-side child channel accepted for the TLS connection in validateCertificate() was never closed explicitly. Its cleanup depended entirely on the local EventLoopGroup's shutdownGracefully(0, 1, SECONDS), which cancels scheduled tasks as soon as shutdown begins. Under CI load the SslHandler close_notify flush/timeout could lose that race, leaving the SSLEngine and its cached key material to be released later by GC finalization instead, which intermittently tripped the leak presence detector's 5 second grace period. Modifications: - Capture the accepted server-side child channel and close it explicitly before releasing serverSslContext and shutting down the group Result: More stable CI Co-authored-by: Norman Maurer <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.