mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Issue #25114, asyncio: add ssl_object extra info to SSL transports
This info is required on Python 3.5 and newer to get specific information on the SSL object, like getting the binary peer certificate (instead of getting it as text).
This commit is contained in:
		
							parent
							
								
									808d6416e3
								
							
						
					
					
						commit
						f7dc7fb74d
					
				
					 4 changed files with 73 additions and 12 deletions
				
			
		|  | @ -843,6 +843,7 @@ def _on_handshake(self, start_time): | |||
|         self._extra.update(peercert=peercert, | ||||
|                            cipher=self._sock.cipher(), | ||||
|                            compression=self._sock.compression(), | ||||
|                            ssl_object=self._sock, | ||||
|                            ) | ||||
| 
 | ||||
|         self._read_wants_write = False | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Victor Stinner
						Victor Stinner