mirror of
				https://github.com/caddyserver/caddy.git
				synced 2025-11-03 19:17:29 -05:00 
			
		
		
		
	Solaris 10 and Illumos are missing SO_REUSEPORT. Treat them more like Windows (i.e. use the listener pool).
		
			
				
	
	
		
			8 lines
		
	
	
		
			130 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			130 B
		
	
	
	
		
			Go
		
	
	
	
	
	
//go:build unix && !freebsd && !solaris
 | 
						|
 | 
						|
package caddy
 | 
						|
 | 
						|
import "golang.org/x/sys/unix"
 | 
						|
 | 
						|
const unixSOREUSEPORT = unix.SO_REUSEPORT
 |