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
Defer loading of PDO, Memcached, Slim, WordPress, and Yii integrations until first usage #1006
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I confirmed in a debugger that this is a use-after-free that is fixed in PHP 7.0+. However, I'm not fully certain about _why_ it happens now, and didn't before; that seems to be due to another bug somewhere.
morrisonlevi
force-pushed
the
labbati/defer-integrations
branch
from
September 21, 2020 07:55
6a3c25f
to
e036056
Compare
Remove un-necessary YiiIntegrationLoader class Use non-tracing API in Yii integration Sort integrations in integrations.c
Remove un-necessary singleton Use non-tracing hook
morrisonlevi
changed the title
Defer loading of pdo and memcached integrations until first usage
Defer loading of PDO, Memcached, Slim, WordPress, and Yii integrations until first usage
Sep 21, 2020
Remove elasticsearch.h as it no longer is large enough to merit its own file; likewise test_integration.h.
morrisonlevi
force-pushed
the
labbati/defer-integrations
branch
from
September 21, 2020 08:49
bb302e3
to
cb540f7
Compare
5 tasks
@SammyK you might want to take a look at it since both @morrisonlevi and I pushed to this branch? |
SammyK
approved these changes
Oct 13, 2020
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.
LGTM 👍
3 tasks
SammyK
pushed a commit
that referenced
this pull request
Oct 14, 2020
Defer loading of PDO, Memcached, Slim, WordPress, and Yii integrations until first usage
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR defers the loading of PDO, Memcached, Slim, WordPress, and Yii integrations until they are used.
Cleans up Yii2 and WordPress a tiny bit:
Readiness checklist
Reviewer checklist