Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 12, 19:30 UTC
Switch Solaris-derivatives away from listen_unix (#6021)
Solaris 10 and Illumos are missing SO_REUSEPORT. Treat them more like Windows (i.e. use the listener pool).
Aaron Brady committed
Jan 6, 2024 at 05:09 UTC
76611fa15079b755ddf3c859ae2ea0ad2123223f
3 files changed
+3
-3
listen.go
+1
-1
@@ -12,7 +12,7 @@
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
-//go:build !unix
15
+//go:build !unix || solaris
16
17
package caddy
18
listen_unix.go
+1
-1
@@ -15,7 +15,7 @@
15
// Even though the filename ends in _unix.go, we still have to specify the
16
// build constraint here, because the filename convention only works for
17
// literal GOOS values, and "unix" is a shortcut unique to build tags.
18
-//go:build unix
18
+//go:build unix && !solaris
19
20
package caddy
21
listen_unix_setopt.go
+1
-1
@@ -1,4 +1,4 @@
1
-//go:build unix && !freebsd
1
+//go:build unix && !freebsd && !solaris
2
3
package caddy
4