Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't break Websocket connection on BlockingIO & like error
Previous commit catcher wider exception in WebsocketWrapper (OSError), which include temporary error like BlockingIOError, SSLWantReadError... This caused Websocket connection to break and cause client reconnection when it should only cause a later retry. Revert to catching previous ConnectionError, which should be fine, other fatal error like SSLEOFError that might happen would still be catched by caller (_sock_recv) which will take care of closing the websocket connection
- Loading branch information