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, 18 Feb 2019 11:32:34 +0000 (12:32 +0100)
This reverts commit c6a6171ab2c7ee887e0860598a126a5424c982b7.

source3/smbd/smb2_tcon.c

index 900b7ec51298526f0d147e76a1eee2ce5e174c59..d8dc2194eaabf8070958e953180d8a02b15e1404 100644 (file)
@@ -406,7 +406,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)))