mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-27 14:13:48 +03:00
76611fa150
Solaris 10 and Illumos are missing SO_REUSEPORT. Treat them more like Windows (i.e. use the listener pool).
7 lines
130 B
Go
7 lines
130 B
Go
//go:build unix && !freebsd && !solaris
|
|
|
|
package caddy
|
|
|
|
import "golang.org/x/sys/unix"
|
|
|
|
const unixSOREUSEPORT = unix.SO_REUSEPORT
|