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

Use special exception when failing because the SSLEngine was closed #10783

Merged
merged 1 commit into from Nov 9, 2020

Conversation

normanmaurer
Copy link
Member

Motivation:

Sometimes it would be helpful to easily detect if an operation failed due the SSLEngine already be closed.

Modifications:

Add special exception that is used when the engine was closed

Result:

Easier to detect a failure caused by a closed exception

Motivation:

Sometimes it would be helpful to easily detect if an operation failed due the SSLEngine already be closed.

Modifications:

Add special exception that is used when the engine was closed

Result:

Easier to detect a failure caused by a closed exception
@normanmaurer
Copy link
Member Author

/cc @iamaleksey

Copy link
Contributor

@hyperxpro hyperxpro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes one of my issues. Thanks!

@normanmaurer normanmaurer added this to the 4.1.54.Final milestone Nov 9, 2020
@iamaleksey
Copy link
Contributor

/cc @iamaleksey

Thanks buddy, this is all I needed.

@normanmaurer normanmaurer merged commit 1c37c8f into 4.1 Nov 9, 2020
@normanmaurer normanmaurer deleted the closed_engine_exception branch November 9, 2020 14:33
normanmaurer added a commit that referenced this pull request Nov 9, 2020
…10783)

Motivation:

Sometimes it would be helpful to easily detect if an operation failed due the SSLEngine already be closed.

Modifications:

Add special exception that is used when the engine was closed

Result:

Easier to detect a failure caused by a closed exception
raidyue pushed a commit to raidyue/netty that referenced this pull request Jul 8, 2022
…etty#10783)

Motivation:

Sometimes it would be helpful to easily detect if an operation failed due the SSLEngine already be closed.

Modifications:

Add special exception that is used when the engine was closed

Result:

Easier to detect a failure caused by a closed exception
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants