Skip to content

async: Call set_channel_write_waker()#53

Merged
mkj merged 1 commit into
mainfrom
pr/async-write-wake
Jun 1, 2026
Merged

async: Call set_channel_write_waker()#53
mkj merged 1 commit into
mainfrom
pr/async-write-wake

Conversation

@mkj
Copy link
Copy Markdown
Owner

@mkj mkj commented Jun 1, 2026

This was a copy and paste bug calling set_channel_read_waker() instead. It could cause connections to get stuck, observed with rsync getting stuck at the first SSH packet buffer size (either ~700 bytes or 32768 bytes).

Kind of a follow up to #51, but was found coincidentally.

This was a copy and paste bug calling set_channel_read_waker() instead.
It could cause connections to get stuck, observed with rsync getting
stuck at the first SSH packet buffer size (either ~700 bytes or 32768
bytes).

The commit message for fix c843947
("Wake write_waker instead of read_waker")
said they wouldn't be noticed in sunsetc - it turns out that is wrong,
if the write wake was the only pending event.
@mkj mkj added bug Something isn't working async labels Jun 1, 2026
@mkj mkj merged commit ec56c4c into main Jun 1, 2026
4 checks passed
@mkj mkj deleted the pr/async-write-wake branch June 1, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

async bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant