[JAVA-3680] Interrupting open of an asynchronous channel can leave the channel open Created: 03/Apr/20  Updated: 28/Oct/23  Resolved: 07/Apr/20

Status: Closed
Project: Java Driver
Component/s: Connection Management
Affects Version/s: None
Fix Version/s: 3.12.3, 4.0.2

Type: Bug Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Case:

 Description   

There is a race condition with asynchronous channels which can result in the channel remaining open after the Stream that wraps it has been closed.



 Comments   
Comment by Githook User [ 07/Apr/20 ]

Author:

{'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Ensure that socket is closed on handshake failure

JAVA-3680
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/13f63f880371c74784daf1b69f58d73e87eefdb3

Comment by Githook User [ 07/Apr/20 ]

Author:

{'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Ensure that socket is closed on handshake failure

JAVA-3680
Branch: 4.0.x
https://github.com/mongodb/mongo-java-driver/commit/3c982112fead3ddf1ac4de7e41fd5bb05e53118e

Comment by Githook User [ 07/Apr/20 ]

Author:

{'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Ensure that socket is closed on handshake failure

JAVA-3680
Branch: 3.12.x
https://github.com/mongodb/mongo-java-driver/commit/f346d2f41217626fa55480875022fa1848e5e62e

Generated at Thu Feb 08 09:00:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.