mirror of
				https://github.com/libssh2/libssh2.git
				synced 2025-11-03 22:13:11 +03:00 
			
		
		
		
	Swap compression mode preferences, prefer none over zlib by default
This commit is contained in:
		
							
								
								
									
										2
									
								
								README
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								README
									
									
									
									
									
								
							@@ -8,6 +8,8 @@ Version 0.8
 | 
			
		||||
 | 
			
		||||
  Fix compatability with older versions of OpenSSL
 | 
			
		||||
 | 
			
		||||
  Swapped order of none,zlib compression modes to prefer no compression by default.
 | 
			
		||||
 | 
			
		||||
Version 0.7
 | 
			
		||||
-----------
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -272,10 +272,10 @@ static LIBSSH2_COMP_METHOD libssh2_comp_method_zlib = {
 | 
			
		||||
   *********************** */
 | 
			
		||||
 | 
			
		||||
static LIBSSH2_COMP_METHOD *_libssh2_comp_methods[] = {
 | 
			
		||||
	&libssh2_comp_method_none,
 | 
			
		||||
#ifdef LIBSSH2_HAVE_ZLIB
 | 
			
		||||
	&libssh2_comp_method_zlib,
 | 
			
		||||
#endif /* LIBSSH2_HAVE_ZLIB */
 | 
			
		||||
	&libssh2_comp_method_none,
 | 
			
		||||
	NULL
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user