mirror of
				https://github.com/caddyserver/caddy.git
				synced 2025-10-31 18:47:20 -04: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
 |