2023-01-05 14:41:03 +00:00
|
|
|
// Copyright (C) 2023 Storj Labs, Inc.
|
|
|
|
// See LICENSE for copying information.
|
|
|
|
|
2023-09-16 16:05:11 +01:00
|
|
|
//go:build !linux && !windows && !freebsd
|
|
|
|
// +build !linux,!windows,!freebsd
|
2023-01-05 14:41:03 +00:00
|
|
|
|
|
|
|
package server
|
|
|
|
|
|
|
|
import (
|
|
|
|
"go.uber.org/zap"
|
|
|
|
)
|
|
|
|
|
|
|
|
func setTCPFastOpen(fd uintptr, queue int) error { return nil }
|
|
|
|
|
2023-06-02 15:17:23 +01:00
|
|
|
// tryInitFastOpen returns true if fastopen support is possibly enabled.
|
|
|
|
func tryInitFastOpen(*zap.Logger) bool { return false }
|