Repository navigation
Conversation
…orce drain deadlines
…ag per host The QUIC interop provider link hardcoded -ldl after V3_TLS_LIBS. Static OpenSSL on POSIX needs it, but Windows resolves its loader through the system runtime and ships no libdl, so the mingw64 package lane and the Windows acceptance lane both failed linking quic_interop_endpoint.exe with 'cannot find -ldl'. configure.ac now derives V3_TLS_DL_LIBS from the existing is_windows host classification (empty on mingw/msys/cygwin, -ldl elsewhere) and the interop LDADD uses the substitution.
…ncated send to completion Both fixes answer second FreeBSD recurrences with retained evidence (run 46508507388, platform-FreeBSD-failure-evidence, tls-no make check test-suite.log): response_sources hung at threaded_pipe_sends_single_winner twice (exit 124 both times under the stage-11 timeout wrapper). The rig constructor writes the whole payload through a blocking fd before any reader exists, so the payload must fit the kernel pipe capacity; FreeBSD's default is 8 KiB and this was the only pipe payload at that boundary (every other pipe payload is <= 4096). The race semantics need only an identical body across the four threads, so the payload drops to 4096 with a 2x margin, and the rig now documents the POSIX payload bound next to the stage-14 Windows sizing note. response_definition failed checks 846/847 twice in file_send_truncated_mid_send_fails: after the wake round, done stayed 0. Every library path reaches the spawn callback within one drain-and-pump round, so the extra completion (a stream-buffer tail served after the truncation, parking the exactly-full queue once more, or one additional executor round) is now tolerated by a bounded drive; the checked first drain and both original assertions are unchanged, and a permanent stall still fails them with the same evidence.
ChangeLog entries for the per-host dynamic-loader substitution and the two FreeBSD make-check repairs, and the stage 15 ledger in the task card: failed run identification, the pipe-capacity hang mechanism (2/2 recurrence), the robustifier framing for the truncated-send completion, and the local gate receipts including the environmental script-test failures reproduced at the prior commit.
…the raw v3core archive consumers
…checked and verified The truncated mid-send suites failed three FreeBSD acceptance runs because temp_file::rewrite never checked its ofstream: a silently failed open left the asset intact and the send legally succeeded on the original content (full-stream timings in all three runs). Rewrite now truncates and writes through checked direct syscalls (rig shims, Windows _O_NOINHERIT branch) and verifies the visible post-write size, failing with evidence instead of losing the scenario. Stage-16 ledger in the task card; ChangeLog entries for this and the raw-archive Winsock linkage.
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.
Darwin PSK tests can release a lookup before cancellation is checked and spend real handshake deadlines sleeping between tiny transport fragments. Release lookup after the owner assertions and drain ready fixture work while yielding. Preserve every assertion, fragment and protocol deadline.
Windows installed readiness tests assume that the executable's operator-new replacement affects DLL allocations. Native proof disproves that assumption. Keep all 22 ordinary cases against the installed DLL and require all 27 cases, including the five unchanged allocation-failure cases, against the installed static archive. Package execution and archive import share the same required-case validator; other platforms retain their original fault coverage.
Darwin archive receipt validation also exposed five executable suites counted twice: TESTS already includes check_PROGRAMS, then four extra TESTS lines repeat those programs. Remove only those redundant lines, preserving every suite and the strict duplicate rejection.
Focused validation: PSK 14 tests/313 checks under coarse scheduling; Windows adapter DLL 22/438 and static 27/486; Linux adapter 28/497; 28 package coverage/matrix and 14 archive-bundle checks. All zero skips. Actual regenerated Automake inventories are unique in both modes (TLS yes 266, no 235), with all five affected programs still present once. Lint, Python compilation and diff checks pass. Local Windows uses a qualified cached toolchain; actual Server2022/MSYS2 CI remains required.
Draft for current-source CI. Windows public consumer shutdown can still report WSAPoll10038; cause remains unknown, and no speculative polling or shutdown suppression is included. Production TLS/backend code is unchanged. Historical failed and canceled receipts stay incomplete; Groundwork validation remains deferred until full CI is green.