GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||
GeezerVison is showing github.com — bpo-40352: Try to reconnect socket when send message in SocketHandler. by serhiy-storchaka · Pull Request #22061 · python/cpython Conversation
|
| self.sock = None # so we can call createSocket next time | ||
| if attempt: | ||
| continue | ||
| break |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
IIUC, this code will retry connection once, straight away, if the handler was previously connected but an error occurs when actually sending the event. In the case where the reason for the error is that the remote has gone offline, how likely is that reconnection attempt to succeed? Isn't the remote going offline for a period the case described in the issue?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This missed the boat for inclusion in Python 3.9 which accepts security fixes only as of today. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.