[JAVA-1577] ByteBuf leaked on exception in Stream implementations Created: 29/Nov/14  Updated: 31/Mar/15  Resolved: 03/Dec/14

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

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


 Description   

ByteBuf is leaked on exception in the following Stream implementations:

  • SocketStream
  • SocketChannelStream
  • AsynchronousSocketChannelStream


 Comments   
Comment by Jeffrey Yemin [ 31/Mar/15 ]

Closing all resolved 3.0.0 issues, as 3.0.0 has been tagged and released.

Comment by Githook User [ 30/Jan/15 ]

Author:

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

Message: Ensured that ByteBuf instances are released in all Stream implementations in the case where an error is reported
and the ByteBuf is not being passed back to the caller (who is then responsible for freeing it).

JAVA-1577
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/25465a72955ded51a71349e70b1a0ff725947a05

Comment by Githook User [ 03/Dec/14 ]

Author:

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

Message: Ensured that ByteBuf instances are released in all Stream implementations in the case where an error is reported
and the ByteBuf is not being passed back to the caller (who is then responsible for freeing it).

JAVA-1577
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/25465a72955ded51a71349e70b1a0ff725947a05

Comment by Githook User [ 03/Dec/14 ]

Author:

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

Message: Ensured that ByteBuf instances are released in all Stream implementations in the case where an error is reported
and the ByteBuf is not being passed back to the caller (who is then responsible for freeing it).

JAVA-1577
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/120f28fd8617e4329136b4a638322f9b75f457a0

Generated at Thu Feb 08 08:54:58 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.