mirror of
				https://github.com/caddyserver/caddy.git
				synced 2025-11-04 07:11:10 +00:00 
			
		
		
		
	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
 |