Skip to content

fix: tcp and udp recv truncated datagram and parallel accept - #14795

Open
algebraic-dev wants to merge 1 commit into
sofia/libuv-foreachfrom
sofia/libuv-networking-fix
Open

fix: tcp and udp recv truncated datagram and parallel accept#14795
algebraic-dev wants to merge 1 commit into
sofia/libuv-foreachfrom
sofia/libuv-networking-fix

Conversation

@algebraic-dev

Copy link
Copy Markdown
Member

This PR fixes two issues in recv functions of the UDP and TCP modules.

@algebraic-dev algebraic-dev self-assigned this Aug 15, 2026
@algebraic-dev algebraic-dev changed the title fix: tcp and udp recv fix: tcp and udp recv truncated datagram and parallel accept Aug 15, 2026
@github-actions github-actions Bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label Aug 15, 2026
@leanprover-bot

Copy link
Copy Markdown
Collaborator

Reference manual CI status:

  • ❗ Reference manual CI can not be attempted yet, as the nightly-testing-2026-08-14 tag does not exist there yet. We will retry when you push more commits. If you rebase your branch onto nightly-with-manual, reference manual CI should run now. You can force reference manual CI using the force-manual-ci label. (2026-08-15 01:10:18)

@github-actions github-actions Bot added the mathlib4-nightly-available A branch for this PR exists at leanprover-community/mathlib4-nightly-testing:lean-pr-testing-NNNN label Aug 15, 2026
@mathlib-lean-pr-testing mathlib-lean-pr-testing Bot added the builds-mathlib CI has verified that Mathlib builds against this PR label Aug 15, 2026
@mathlib-lean-pr-testing

mathlib-lean-pr-testing Bot commented Aug 15, 2026

Copy link
Copy Markdown

Mathlib CI status (docs):

@algebraic-dev
algebraic-dev force-pushed the sofia/libuv-networking-fix branch from ba9e425 to 342fd28 Compare August 15, 2026 02:53
@algebraic-dev
algebraic-dev changed the base branch from master to sofia/libuv-foreach August 15, 2026 02:59
algebraic-dev added a commit that referenced this pull request Aug 15, 2026
Stacks this branch on #14796 -> #14795 -> #14793.

The `timer_stop`/`signal_stop` conflicts keep this branch's shape: the loop only holds a reference
on a handle while it owes a promise, so the release of the promise and of the handle are gated
together on the state check that #14793 introduced.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
mathlib-nightly-testing Bot pushed a commit to leanprover-community/batteries that referenced this pull request Aug 15, 2026
mathlib-nightly-testing Bot pushed a commit to leanprover-community/mathlib4-nightly-testing that referenced this pull request Aug 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

builds-mathlib CI has verified that Mathlib builds against this PR changelog-library Library mathlib4-nightly-available A branch for this PR exists at leanprover-community/mathlib4-nightly-testing:lean-pr-testing-NNNN toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants