mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Bug #978833: Close https sockets by releasing the _ssl object.
This commit is contained in:
		
							parent
							
								
									ec2ce9bbae
								
							
						
					
					
						commit
						f25e35b9ec
					
				
					 4 changed files with 28 additions and 0 deletions
				
			
		|  | @ -144,6 +144,10 @@ def _dummy(*args): | |||
|     send = recv = recv_into = sendto = recvfrom = recvfrom_into = _dummy | ||||
|     __getattr__ = _dummy | ||||
| 
 | ||||
| # Wrapper around platform socket objects. This implements | ||||
| # a platform-independent dup() functionality. The | ||||
| # implementation currently relies on reference counting | ||||
| # to close the underlying socket object. | ||||
| class _socketobject(object): | ||||
| 
 | ||||
|     __doc__ = _realsocket.__doc__ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Martin v. Löwis
						Martin v. Löwis