File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -879,16 +879,7 @@ pub(crate) fn original_dst(socket: Socket) -> io::Result<SockAddr> {
879879 . map ( |( _, addr) | addr)
880880}
881881
882- /// Get the value for the `IP6T_SO_ORIGINAL_DST` option on this socket.
883- /// Only valid for sockets in accepting mode.
884- ///
885- /// Note: if using this function in a proxy context, you must query the
886- /// redirect records for this socket and set them on the outbound socket
887- /// created by your proxy in order for any OS level firewall rules to be
888- /// applied. Read more in the Windows bind and connect redirection
889- /// [documentation](https://learn.microsoft.com/en-us/windows-hardware/drivers/network/using-bind-or-connect-redirection).
890882#[ cfg( feature = "all" ) ]
891- #[ cfg_attr( docsrs, doc( cfg( all( windows, feature = "all" ) ) ) ) ]
892883pub ( crate ) fn original_dst_ipv6 ( socket : Socket ) -> io:: Result < SockAddr > {
893884 unsafe {
894885 SockAddr :: try_init ( |storage, len| {
You can’t perform that action at this time.
0 commit comments