[JAVA-3730] Closing TlsChannelStream does not cancel concurrent reads Created: 15/May/20  Updated: 28/Oct/23  Resolved: 28/May/20

Status: Closed
Project: Java Driver
Component/s: Connection Management
Affects Version/s: None
Fix Version/s: 4.1.0

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


 Description   

Closing a Stream should cause pending read operation to immediately fail and throw an exception. But with TlsChannelStream, the pending read operation appears to hang indefinitely if the channel is closed while waiting for the read to complete.



 Comments   
Comment by Githook User [ 28/May/20 ]

Author:

{'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}

Message: Fix AsynchronousTlsChannelGroup closing

Ensure the registered sockets' callback is called
JAVA-3730
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/d917045f07dd46cb14bf46fb6f6117c7fd56e449

Comment by Ross Lawley [ 26/May/20 ]

PR: https://github.com/rozza/mongo-java-driver/pull/385

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