Skip to content

Commit

Permalink
fix proxy connection pool creation
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbegg committed Jun 23, 2023
1 parent 54e3769 commit 1b74087
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/databricks/sql/auth/thrift_http_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def open(self):
headers={"Proxy-Authorization": self.proxy_auth},
)
self.__pool = proxy_manager.connection_from_host(
self.host, self.port, pool_kwargs=_pool_kwargs
self.realhost, self.realport, pool_kwargs=_pool_kwargs, scheme=self.scheme
)
else:
self.__pool = pool_class(self.host, self.port, **_pool_kwargs)
Expand Down

0 comments on commit 1b74087

Please sign in to comment.