Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report the number of received bytes in recv_uninit and recvfrom_uninit. #1278

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

sunfishcode
Copy link
Member

As discussed in #1159, add a length to the return value of recv_uninit and recvfrom_uninit to report the original received length, which with RecvFlags::TRUNC may differ from the returned buffer length.

@sunfishcode sunfishcode mentioned this pull request Jan 23, 2025
21 tasks
…init`.

As discussed in #1159, add a length to the return value of
`recv_uninit` and `recvfrom_uninit` to report the original received
length, which with `RecvFlags::TRUNC` may differ from the returned
buffer length.
@sunfishcode sunfishcode force-pushed the sunfishcode/recv-trunc-len branch from 27e95c0 to 34de3ac Compare January 30, 2025 02:13
@sunfishcode sunfishcode merged commit e231b42 into main Jan 30, 2025
45 checks passed
@sunfishcode sunfishcode deleted the sunfishcode/recv-trunc-len branch January 30, 2025 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant