-
-
Couldn't load subscription status.
- Fork 8.6k
[py]: close ipv6 port in case of error #16165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
User description
🔗 Related Issues
Fixes #16164
💥 What does this PR do?
Prevents socket leak in case of error when ipv6 connection fails in the
free_portmethod.🔧 Implementation Notes
💡 Additional Considerations
🔄 Types of changes
PR Type
Bug fix
Description
Fix socket leak in IPv6 connection error handling
Add proper socket cleanup in
free_portmethodDiagram Walkthrough
File Walkthrough
utils.py
Add IPv6 socket cleanup on errorpy/selenium/webdriver/common/utils.py