summaryrefslogtreecommitdiff
path: root/listen_unix_setopt.go
diff options
context:
space:
mode:
Diffstat (limited to 'listen_unix_setopt.go')
-rw-r--r--listen_unix_setopt.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/listen_unix_setopt.go b/listen_unix_setopt.go
new file mode 100644
index 0000000..c9675f9
--- /dev/null
+++ b/listen_unix_setopt.go
@@ -0,0 +1,7 @@
+//go:build unix && !freebsd
+
+package caddy
+
+import "golang.org/x/sys/unix"
+
+const unixSOREUSEPORT = unix.SO_REUSEPORT