rclone/vendor/storj.io/common/netutil/timeout_other.go

17 lines
300 B
Go
Raw Normal View History

2020-05-11 20:57:46 +02:00
// Copyright (C) 2019 Storj Labs, Inc.
// See LICENSE for copying information.
// +build !linux
package netutil
import (
"net"
"time"
)
// SetUserTimeout sets the TCP_USER_TIMEOUT setting on the provided conn.
func SetUserTimeout(conn *net.TCPConn, timeout time.Duration) error {
return nil
}