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
				
			
		|  | @ -6,7 +6,6 @@ use super::load_balance::{ | |||
| // use super::{BytesName, LbContext, PathNameBytesExp, UpstreamOption};
 | ||||
| use super::upstream_opts::UpstreamOption; | ||||
| use crate::{ | ||||
|   crypto::CryptoSource, | ||||
|   error::RpxyError, | ||||
|   globals::{AppConfig, UpstreamUri}, | ||||
|   log::*, | ||||
|  | @ -28,12 +27,9 @@ pub struct PathManager { | |||
|   inner: HashMap<PathName, UpstreamCandidates>, | ||||
| } | ||||
| 
 | ||||
| impl<T> TryFrom<&AppConfig<T>> for PathManager | ||||
| where | ||||
|   T: CryptoSource, | ||||
| { | ||||
| impl TryFrom<&AppConfig> for PathManager { | ||||
|   type Error = RpxyError; | ||||
|   fn try_from(app_config: &AppConfig<T>) -> Result<Self, Self::Error> { | ||||
|   fn try_from(app_config: &AppConfig) -> Result<Self, Self::Error> { | ||||
|     let mut inner: HashMap<PathName, UpstreamCandidates> = HashMap::default(); | ||||
| 
 | ||||
|     app_config.reverse_proxy.iter().for_each(|rpc| { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jun Kurihara
				Jun Kurihara