-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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
fetch: convert a NULL property query to "" #17769
Conversation
d0c3da5
to
a2ccfff
Compare
Previously, a NULL property query was never cached and this lead to a performance degregation. Now, such a query is converted to an empty string and cached. Fixes openssl#17752 Fixes https://github.openssl.org/openssl/openssl/issues/26
a2ccfff
to
cf4b917
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need a test for the inner_ossl_decoder_fetch returning 0 on NULL propquery?
I don't feel a strong need for such a test. This is internal non-user facing code. |
24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set. Please review the updates and set the label manually. |
Previously, a NULL property query was never cached and this lead to a performance degregation. Now, such a query is converted to an empty string and cached. Fixes openssl#17752 Fixes https://github.openssl.org/openssl/openssl/issues/26 Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from openssl#17769)
Merged to master. |
@paulidale should this be merged also to 3.0? The original issue has the 3.0 branch label. I'd be OK with merging it there. |
@mattcaswell what do you think about 3.0 for this? I thought about it but we've not back ported performance fixes previously. |
Backport of performance fixes is against the stable release updates policy - so would require OTC approval. I might be minded to vote in favour of that for this PR since the changes are quite minor. |
Added to today's OTC discussions. |
Previously, a NULL property query was never cached and this lead to a performance degregation. Now, such a query is converted to an empty string and cached. Fixes #17752 Fixes https://github.openssl.org/openssl/openssl/issues/26 Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from #17769) (cherry picked from commit af788ad)
Previously, a NULL property query was never cached and this lead to a
performance degregation. Now, such a query is converted to an empty string
and cached.
Fixes #17752
Fixes https://github.openssl.org/openssl/openssl/issues/26
Unless the performance improvement here is very significant, this shouldn't be backported to 3.0.