wip: support rustls-0.23 for http1.1 and 1.2
This commit is contained in:
		
					parent
					
						
							
								2f9f0a1122
							
						
					
				
			
			
				commit
				
					
						0c6f3edf18
					
				
			
		
					 16 changed files with 80 additions and 393 deletions
				
			
		|  | @ -11,10 +11,16 @@ mod proxy_quic_s2n; | |||
| use crate::{ | ||||
|   globals::Globals, | ||||
|   hyper_ext::rt::{LocalExecutor, TokioTimer}, | ||||
|   name_exp::ServerName, | ||||
| }; | ||||
| use hyper_util::server::{self, conn::auto::Builder as ConnectionBuilder}; | ||||
| use rustc_hash::FxHashMap as HashMap; | ||||
| use rustls::ServerConfig; | ||||
| use std::sync::Arc; | ||||
| 
 | ||||
| /// SNI to ServerConfig map type
 | ||||
| pub type SniServerCryptoMap = HashMap<ServerName, Arc<ServerConfig>>; | ||||
| 
 | ||||
| pub(crate) use proxy_main::Proxy; | ||||
| 
 | ||||
| /// build connection builder shared with proxy instances
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jun Kurihara
				Jun Kurihara