Revert "s3-smbd: use the same TCP keepalive settings as Windows 2012 and 2016"
authorGünther Deschner <gd@samba.org>
Fri, 10 Nov 2017 18:41:56 +0000 (19:41 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 10 Feb 2020 14:14:02 +0000 (15:14 +0100)
This reverts commit c6a6171ab2c7ee887e0860598a126a5424c982b7.

source3/smbd/smb2_tcon.c

index 0c5841afcd4c02c349f29dc0333d2286fe52f3d0..f3eec55fe6ec37266840956c950e92f105dcbe0b 100644 (file)
@@ -414,7 +414,6 @@ static NTSTATUS smbd_smb2_tree_connect(struct smbd_smb2_request *req,
            lp_continuously_available_share(SNUM(tcon->compat)))
        {
                *out_capabilities |= SMB2_SHARE_CAP_CONTINUOUS_AVAILABILITY;
-               set_socket_options_keepalive(conn->transport.sock, 10, 10, 1);
        }
        if (conn->protocol >= PROTOCOL_SMB2_22 &&
            lp_scale_out_share(SNUM(tcon->compat)))