Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Port "Add config to force OpenSsl error queue cleanup before Encrypt/Decrypt" to 2.1 - #29443

Closed
pjanotti wants to merge 1 commit into
dotnet:release/2.1from
pjanotti:port-29186-to-2.1
Closed

Port "Add config to force OpenSsl error queue cleanup before Encrypt/Decrypt" to 2.1#29443
pjanotti wants to merge 1 commit into
dotnet:release/2.1from
pjanotti:port-29186-to-2.1

Conversation

@pjanotti

@pjanotti pjanotti commented May 1, 2018

Copy link
Copy Markdown
Contributor

Port of PR (#29186)

  • Add config to force OpenSsl error queue cleanup before Encrypt/Decrypt

This is a escape valve in case the optimization of removing the calls to ERR_clear_error() for each SSL_write/SSL_read causes troubles (we did various changes to minimize this possibility but due to the nature of OpenSsl error queue is not possible to guarantee that this won't ever happens). There will be a performance impact if the optimization is off but depending on the scenario it can be a desirable trade-off.

Fixes #29188

dotnet#29186)

* Add config to force OpenSsl error queue cleanup before Encrypt/Decrypt

This is a escape valve in case the optimization of removing the calls to ERR_clear_error() for each SSL_write/SSL_read causes troubles. There will be a performance impact but depending on the scenario it can be a desired trade-off.

Fixes #29188
@pjanotti pjanotti added this to the 2.1.0 milestone May 1, 2018
@pjanotti pjanotti self-assigned this May 1, 2018
@pjanotti

pjanotti commented May 2, 2018

Copy link
Copy Markdown
Contributor Author

Closing PR since it was decided to not add this config at this time, later I will remove it from master too.

@pjanotti pjanotti closed this May 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant