Skip to content

Conversation

@clue
Copy link
Member

@clue clue commented Jun 24, 2025

This changeset assigns an empty remote address if socket address is unknown (Unix sockets) on PHP 8.1+. This is in line with the existing behavior on older PHP versions. This is part 11 of reviving Ratchet as discussed in #1054, unblocking more future progress.

Similar to #1107, this wasn't caught by the previous tests because the IoServer doesn't have full test coverage. I've updated the tests to ensure this should not happen again. This builds on top of recent workarounds introduced with #1096 and others. The test suite confirms this now has full test coverage and does not otherwise affect any of the existing tests.

Overall, this required quite a massive effort. If you want to support this project, please consider sponsoring @reactphp ❤️

Builds on top of #1094, #1096 and others, one step closer to reviving Ratchet as discussed in #1054
Resolves / closes #1036

@clue clue added this to the 0.4.5 milestone Jun 24, 2025
@clue clue requested a review from PaulRotmann June 24, 2025 16:21
Copy link
Contributor

@PaulRotmann PaulRotmann left a comment

Choose a reason for hiding this comment

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

Changes LGTM 👍

@PaulRotmann PaulRotmann merged commit d66c645 into ratchetphp:0.4.x Jun 25, 2025
14 checks passed
@clue clue deleted the no-remote branch June 25, 2025 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Getting error on production - strpos(): Passing null to parameter

2 participants