forked from loafle/openapi-generator-original
Python Allow clients to define TLS Server name when using (#15283)
This PR allows users to define custom SNI when using the python clients Fixes https://github.com/OpenAPITools/openapi-generator/issues/15282
This commit is contained in:
@@ -143,6 +143,10 @@ class Configuration(object):
|
||||
self.assert_hostname = None
|
||||
"""Set this to True/False to enable/disable SSL hostname verification.
|
||||
"""
|
||||
self.tls_server_name = None
|
||||
"""SSL/TLS Server Name Indication (SNI)
|
||||
Set this to the SNI value expected by the server.
|
||||
"""
|
||||
|
||||
self.connection_pool_maxsize = multiprocessing.cpu_count() * 5
|
||||
"""urllib3 connection pool's maximum number of connections saved
|
||||
|
||||
Reference in New Issue
Block a user