[JAVA-4294] InternalStreamConnection must close its stream if Stream.readAsync completes abruptly Created: 10/Sep/21  Updated: 28/Oct/23  Resolved: 13/Sep/21

Status: Closed
Project: Java Driver
Component/s: Reactive Streams
Affects Version/s: None
Fix Version/s: 4.4.0

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

Issue Links:
Issue split
split from JAVA-4210 MongoDb returns message length larger... Closed
Backwards Compatibility: Fully Compatible
Documentation Changes: Not Needed

 Description   

Port the fix implemented in dddab108d95d24ac6e083ab4f9c7049c27b1d314 to the master branch.



 Comments   
Comment by Githook User [ 13/Sep/21 ]

Author:

{'name': 'Valentin Kovalenko', 'email': 'valentin.kovalenko@mongodb.com', 'username': 'stIncMale'}

Message: Close 'InternalStreamConnection' when `stream.openAsync`/`writeAsync`/`readAsync` fails or completes abruptly (#783)

JAVA-4294
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/e085ac29bf3625e16d2cb8f905601e7d470de3da

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