-
-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid garbage references when resolving rejects on legacy PHP <= 5.6
These garbage references only show up when a DNS lookup rejects with an Exception on legacy PHP <= 5.6. These issues have been fixed upstream in the Promise component for current PHP versions with https://github.com/reactphp/promise/releases/tag/v2.6.0 but this PR explicitly unsets known garbage references to avoid unexpected memory growth on legacy PHP versions. The downstream Socket component implicitly depends on this because its test suite currently fails. This changeset can be considered a new feature in this component which fixes a bug in the test suite of a downstream component.
- Loading branch information
Showing
4 changed files
with
106 additions
and
2 deletions.
There are no files selected for viewing
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
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
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
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