Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow blocking calls in JdkSslContext class initializer #12435

Merged
merged 2 commits into from Jun 1, 2022

Commits on May 31, 2022

  1. Allow blocking calls in JdkSslContext class initializer

    Motivation:
    Classes might be initialized inside the event loop where blocking calls are otherwise forbidden.
    The JdkSslContext has a blocking call in its class initializer through initializing the Java SSLContext which does IO to deserialize its key store.
    
    Modification:
    Collect the class initialization code in a method, and allow it to have blocking calls in blockhound.
    
    Result:
    No more blockhound warnings about blocking calls in JdkSslContext class initializer.
    
    Fixes netty#12425
    chrisvest committed May 31, 2022
    Configuration menu
    Copy the full SHA
    7f5fe0d View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2022

  1. Fix NPE

    normanmaurer committed Jun 1, 2022
    Configuration menu
    Copy the full SHA
    a7fca19 View commit details
    Browse the repository at this point in the history