-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Critical - P2
-
Affects Version/s: None
-
Component/s: None
Use Case
As a... Node.js engineer
I want... the proxy socket to only be created if we need it
So that... we don't perform unnecessary setup work and create an unhandled rejection
User Experience
- Unhandled rejection will go away
Dependencies
- mongosh
Risks/Unknowns
- Ensure listeners are properly attached and removed that connect to a promise result
Acceptance Criteria
Implementation Requirements
- Move the netSocket creation into the flagged path for when a proxy is configured
- Ensure the willConnect promise is handled
Testing Requirements
- Existing tests
Documentation Requirements
- None
Follow Up Requirements
- is related to
-
NODE-6804 Add a test to prevent unhandled rejections from passing tests
-
- Closed
-