mirror of
https://github.com/rclone/rclone.git
synced 2024-12-04 06:16:39 +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
|
|
}
|