Skip to content

release version 0.19.1 #1347

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

Closed
wants to merge 8 commits into from
Closed

release version 0.19.1 #1347

wants to merge 8 commits into from

Conversation

asomers
Copy link
Member

@asomers asomers commented Nov 29, 2020

No description provided.

mbrubeck and others added 8 commits November 28, 2020 17:55
See rust-lang/libc#1501 in which this type's
trait implementations are being removed; the change is being announced
via this deprecation.
See rust-lang/libc#1848 in which this type is
changing from i32 to i64; the change is being announced via this
deprecation.
There were two problems discovered with the `recvmmsg(2)` implementation
that this changeset attempts to fix:

1. As mentioned in nix-rust/issues/1325, `recvmmsg(2)` can return fewer
   messages than requested, and
2. Passing the return value of `recvmmsg(2)` as the number of bytes in
   the messages received is incorrect.

This changeset incorporates the proposed fix from nix-rust/issues/1325,
as well as passing the correct value (`mmsghdr.msg_len`) for the number
of bytes in a given message.
Without this commit, nix doesn't currently compile on OpenBSD. Some keepalive
settings can be set globally, but not per-socket (see e.g.
https://bugzilla.mozilla.org/show_bug.cgi?id=970550 for some digging into this).
Since it seems that NetBSD and DragonflyBSD have these settings, it makes more
sense to only exclude them on OpenBSD rather than include them on (pretty much
every) other operating systems.
@asomers asomers added this to the 0.19.1 milestone Nov 29, 2020
@asomers
Copy link
Member Author

asomers commented Nov 29, 2020

Closing this PR. Since this is a fork from 0.19.0, it needs to be pushed as a new branch, not as a pull to master.

@asomers asomers closed this Nov 29, 2020
@asomers asomers deleted the r0.19 branch November 29, 2020 01:09
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.

6 participants