mirror of
				https://git.haproxy.org/git/haproxy.git/
				synced 2025-11-03 18:11:29 +01:00 
			
		
		
		
	A new global option was recently introduced to disable pacing. However, the value used (1<<31) caused issue with some compiler as options field used for storage is declared as int. Move pacing deactivation flag outside into the newly defined quic_tune to fix this. This should be backported up to 3.1 after a period of observation. Note that it relied on the previous patch which defined new quic_tune type.
		
			
				
	
	
		
			18 lines
		
	
	
		
			281 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			281 B
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef _HAPROXY_QUIC_TUNE_T_H
 | 
						|
#define _HAPROXY_QUIC_TUNE_T_H
 | 
						|
 | 
						|
#ifdef USE_QUIC
 | 
						|
#ifndef USE_OPENSSL
 | 
						|
#error "Must define USE_OPENSSL"
 | 
						|
#endif
 | 
						|
 | 
						|
#define QUIC_TUNE_NO_PACING     0x00000001
 | 
						|
 | 
						|
struct quic_tune {
 | 
						|
	uint options;
 | 
						|
};
 | 
						|
 | 
						|
#endif /* USE_QUIC */
 | 
						|
 | 
						|
#endif /* _HAPROXY_QUIC_TUNE_T_H */
 |