mirror of
				https://git.haproxy.org/git/haproxy.git/
				synced 2025-10-31 00:21:00 +01:00 
			
		
		
		
	When threads are enabled and running on a machine with multiple CCX or multiple nodes, thread groups are now enabled since 3.3-dev2, causing load-balancing algorithms to randomly fail due to incoming connections spreading over multiple groups and using different load balancing indexes. Let's just force "thread-groups 1" into all configs when threads are enabled to avoid this.
		
			
				
	
	
		
			28 lines
		
	
	
		
			710 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			710 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # commit 84c844eb12b250aa86f2aadaff77c42dfc3cb619
 | |
| # BUG/MINOR: spoe: Initialize variables used during conf parsing before any check
 | |
| #
 | |
| # Some initializations must be done at the beginning of parse_spoe_flt to avoid
 | |
| # segmentation fault when first errors are caught, when the "filter spoe" line is
 | |
| # parsed.
 | |
| 
 | |
| #REGTEST_TYPE=bug
 | |
| 
 | |
| varnishtest "SPOE bug: missing configuration file"
 | |
| 
 | |
| feature ignore_unknown_macro
 | |
| 
 | |
| haproxy h1 -conf-BAD {} {
 | |
|     global
 | |
|     .if feature(THREAD)
 | |
|         thread-groups 1
 | |
|     .endif
 | |
| 
 | |
| 	defaults
 | |
|         timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
 | |
|         timeout client  "${HAPROXY_TEST_TIMEOUT-5s}"
 | |
|         timeout server  "${HAPROXY_TEST_TIMEOUT-5s}"
 | |
| 
 | |
| 	frontend my-front
 | |
| 		filter spoe
 | |
| }
 |