storj/private/server/fastopen_other.go
JT Olio 1966340b2a storagenode: report fastopen support
Change-Id: Ic707bce32729540391d5139e7f3a82c693bcb834
2023-06-05 15:20:13 +00:00

17 lines
378 B
Go

// Copyright (C) 2023 Storj Labs, Inc.
// See LICENSE for copying information.
//go:build !linux && !windows
// +build !linux,!windows
package server
import (
"go.uber.org/zap"
)
func setTCPFastOpen(fd uintptr, queue int) error { return nil }
// tryInitFastOpen returns true if fastopen support is possibly enabled.
func tryInitFastOpen(*zap.Logger) bool { return false }