mirror of
				https://github.com/liberatedsystems/openCom-Companion.git
				synced 2025-07-08 05:07:21 +02:00 
			
		
		
		
	Squelch excessive certificate validation error logging from client
This commit is contained in:
		
							parent
							
								
									a4e22c7868
								
							
						
					
					
						commit
						887c0a9a16
					
				@ -4730,6 +4730,7 @@ class SidebandCore():
 | 
				
			|||||||
                # invalid certificate to the server. This will always
 | 
					                # invalid certificate to the server. This will always
 | 
				
			||||||
                # happen from some clients when using a self-signed
 | 
					                # happen from some clients when using a self-signed
 | 
				
			||||||
                # certificate, so we don't care.
 | 
					                # certificate, so we don't care.
 | 
				
			||||||
 | 
					                if not hasattr(server.BaseHTTPRequestHandler, "handle_orig"):
 | 
				
			||||||
                    server.BaseHTTPRequestHandler.handle_orig = server.BaseHTTPRequestHandler.handle
 | 
					                    server.BaseHTTPRequestHandler.handle_orig = server.BaseHTTPRequestHandler.handle
 | 
				
			||||||
                    def handle(self):
 | 
					                    def handle(self):
 | 
				
			||||||
                        try:
 | 
					                        try:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user