Skip to content

Commit

Permalink
changelog entry
Browse files Browse the repository at this point in the history
  • Loading branch information
devnexen committed Dec 29, 2024
1 parent 8235599 commit 28d4ca9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog/2572.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added `sockopt::LingerSec` for Apple targets
3 changes: 1 addition & 2 deletions src/sys/socket/sockopt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,7 @@ sockopt_impl!(
);
#[cfg(apple_targets)]
sockopt_impl!(
/// `SO_LINGER_SEC` on apple targets is the genuine equivalent to
/// other platforms `SO_LINGER`. Indeed, the latter uses ticks.
/// Same as `SO_LINGER`, but the duration is in seconds rather than kernel ticks.
LingerSec,
Both,
libc::SOL_SOCKET,
Expand Down

0 comments on commit 28d4ca9

Please sign in to comment.