moq-rtmp: receive_follows_the_limit_after_the_stream_is_open fails on macOS (SO_RCVBUF autotuning)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- macos, rust
- Domain
- networking, testing
Research direction
Start in rs/moq-rtmp/src/receive.rs at line 253 and read receive_follows_the_limit_after_the_stream_is_open to see how it sets and checks SO_RCVBUF. Run the reproduction command from the issue on macOS, then compare how the test can account for Darwin's receive-buffer autotuning while still checking its intended limit. Done when the test passes on macOS and Linux and still detects a real limit regression.
Written by the indexing model from the issue text.
Description
moq-rtmp's receive::tests::receive_follows_the_limit_after_the_stream_is_open fails on macOS every run, at rs/moq-rtmp/src/receive.rs:253:
assertion `left == right` failed
left: 294080
right: 32768
The test sets SO_RCVBUF to 32 KiB, reads the handshake, and asserts the buffer is unchanged. On macOS (Darwin 27.2) the kernel's receive-buffer autotuning grows it after the read, so recv_buffer_size() reports about 287 KiB. Reproduce with:
just rs test -p moq-rtmp -E 'test(receive_follows_the_limit_after_the_stream_is_open)'
It blocks just check on macOS whenever a change selects the whole Rust workspace. Linux passes, so the merge gate never sees it.
(Written by Claude Opus 5.5)
- Dominant language
- Rust
- Stars
- 1.6k
- Forks
- 251
- Avg merge
- 9h 50m
- Merged PRs (30d)
- 804
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from moq-dev/moq
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
moq-dev/moq#10709 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
moq-dev/moq#10691 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
moq-dev/moq#10646 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
moq-dev/moq#10644 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
Similar issues
-
triage: failed
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
oxc-project/tsrs#1277 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
autofixer: follow-up triage: bug triage: classified triage: correctness triage: has-reproducer
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
tursodatabase/turso#13221 ·
Maintainers usually reply within 1 day
-
Update Wasmtime to 48.0.11 for RUSTSEC-2026-0648Possibly taken @flyingrobots claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
flyingrobots/edict#457 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 87/100
Maintainers usually reply within 1 day