[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 |
| Comment by Ross Lawley [ 26/May/20 ] |