mirror of
https://github.com/rclone/rclone.git
synced 2024-12-11 17:51:12 +01:00
17 lines
300 B
Go
17 lines
300 B
Go
// 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
|
|
}
|