summaryrefslogtreecommitdiff
path: root/listen_unix_setopt.go
diff options
context:
space:
mode:
authorTom Barrett <tom@tombarrett.xyz>2023-11-01 17:57:48 +0100
committerTom Barrett <tom@tombarrett.xyz>2023-11-01 18:11:33 +0100
commit240c3d1338415e5d82ef7ca0e52c4284be6441bd (patch)
tree4b0ee5d208c2cdffa78d65f1b0abe0ec85f15652 /listen_unix_setopt.go
parent73e78ab226f21e6c6c68961af88c4ab9c746f4f4 (diff)
parent0e204b730aa2b1fa0835336b1117eff8c420f713 (diff)
vbump to v2.7.5HEADcaddy-cgi
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