Skip to content

Commit

Permalink
Remove unused docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomasdezeeuw authored Nov 27, 2024
1 parent f5e9f8b commit f527aa7
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/sys/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -859,16 +859,7 @@ pub(crate) fn to_mreqn(
}
}

/// Get the value for the `SO_ORIGINAL_DST` option on this socket.
/// Only valid for sockets in accepting mode.
///
/// Note: if using this function in a proxy context, you must query the
/// redirect records for this socket and set them on the outbound socket
/// created by your proxy in order for any OS level firewall rules to be
/// applied. Read more in the Windows bind and connect redirection
/// [documentation](https://learn.microsoft.com/en-us/windows-hardware/drivers/network/using-bind-or-connect-redirection).
#[cfg(feature = "all")]
#[cfg_attr(docsrs, doc(cfg(all(windows, feature = "all"))))]
pub(crate) fn original_dst(socket: Socket) -> io::Result<SockAddr> {
unsafe {
SockAddr::try_init(|storage, len| {
Expand Down

0 comments on commit f527aa7

Please sign in to comment.