Uh oh!
There was an error while loading. Please reload this page.
Fix expected error code in tests when ext-sockets is not enabled - #532
Conversation
SimonFrings
commented
Jun 14, 2024
@lucasnetau Thanks for bringing this up 👍 Seems like a reasonable change to me, but I don't have at much insights on this as @clue and @WyriHaximus, so interested in their opinion on this. |
clue
left a comment
There was a problem hiding this comment.
@lucasnetau Thank you for looking into this, changes LGTM! ![]()
This fixes a small oversight in our test suite only that I've introduced when removing the dependency on reactphp/promise-stream (#482).
Once merged, we should probably backport the same changes to the 1.x branch as well 👍
This is a backport of reactphp#532 and corrects an oversight introduced in reactphp#482.
WyriHaximus
commented
Aug 27, 2024
Just filed #539 to address this in the |
WyriHaximus
left a comment
There was a problem hiding this comment.
Thanks for taking the time to file this fix, LGTM 👍
This is a backport of reactphp#532 and corrects an oversight introduced in reactphp#482.
The expected error code when ext-sockets is not enabled (SOCKET_EMSGSIZE is not defined) is 90 per the two places that OverFlowException is created in class Transaction
http/src/Io/Transaction.php
Lines 173 to 176 in 212382c
http/src/Io/Transaction.php
Lines 205 to 208 in 212382c