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
An issue in socket handling where the "shutdown-then-close" pattern was not properly implemented in the error handling path of socket connections. As a result, socket lifecycle management is unreliable and unpredictable, particularly in error scenarios. This fix ensures more robust and consistent socket management by properly applying the recommended shutdown-then-close pattern.
Technical Details
The Python documentation explicitly recommends this approach:
Description
An issue in socket handling where the "shutdown-then-close" pattern was not properly implemented in the error handling path of socket connections. As a result, socket lifecycle management is unreliable and unpredictable, particularly in error scenarios. This fix ensures more robust and consistent socket management by properly applying the recommended shutdown-then-close pattern.
Technical Details
The Python documentation explicitly recommends this approach:
Please, see the PR #3573 to more details.
The text was updated successfully, but these errors were encountered: