You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Handle case when HTTPConnection socket is wrapped with pyopenssl (patroni#3425)
It happens when `pyopenssl` is installed, because `python-etcd` module enforces its usage. In this case we need to use `WrappedSocket.socket` to shutdown and close connection.
Not doing so results in an error:
```python
TypeError('WrappedSocket.shutdown() takes 1 positional argument but 2 were given')
```
Closepatroni#3420
0 commit comments