File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,25 @@ This project adheres to [Semantic Versioning](http://semver.org/).
8
8
- Add IP_RECVIF & IP_RECVDSTADDR. Enable IP_PKTINFO and IP6_PKTINFO on netbsd/openbsd.
9
9
([ #1002 ] ( https://github.com/nix-rust/nix/pull/1002 ) )
10
10
### Changed
11
+ - ` recvmsg ` now returns an Iterator over ` ControlMessageOwned ` objects rather
12
+ than ` ControlMessage ` objects. This is sadly not backwards-compatible. Fix
13
+ code like this:
14
+ ``` rust
15
+ if let ControlMessage :: ScmRights (& fds ) = cmsg {
16
+ ```
17
+
18
+ By replacing it with code like this:
19
+ ``` rust
20
+ if let ControlMessageOwned :: ScmRights (fds ) = cmsg {
21
+ ```
22
+ ([ #1020 ] ( https://github.com/nix-rust/nix/pull/1020 ) )
23
+ - Replaced ` CmsgSpace ` with the ` cmsg_space ` macro.
24
+ ([ #1020 ] ( https://github.com/nix-rust/nix/pull/1020 ) )
25
+
11
26
### Fixed
27
+ - Fixed multiple bugs when using ` sendmsg ` and ` recvmsg ` with ancillary control messages
28
+ ([ #1020 ] ( https://github.com/nix-rust/nix/pull/1020 ) )
29
+
12
30
### Removed
13
31
14
32
## [ 0.13.0] - 2019-01-15
You can’t perform that action at this time.
0 commit comments