ext/mysqli: Fixes MySQLi fake server packet reads - #23217
Open
NickSdot wants to merge 1 commit into
Open
Conversation
NickSdot
force-pushed
the
fix/flaky-mysqli
branch
from
August 11, 2026 18:03
946dc7f to
c64c61c
Compare
NickSdot
marked this pull request as ready for review
August 11, 2026 18:41
This file contains hidden or 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
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.
It seems eb951b3 already tried to fix this by increasing the sleep from 10ms to 20ms for slow ASAN jobs. While working on CI and test batching I ran into it again with
ALPINE_X64_ASAN_DEBUG_ZTS.The server assumed one delayed
fread()is one MySQL request, which TCP does not guarantee. Now reads complete packets, including partials.Edit just caught one in an active PR:
https://github.com/php/php-src/actions/runs/31531428759/job/93912200471?pr=23038.
Test Failure