Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2204

NettyByteBuf.duplicate incorrectly handles reference counts

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.0
    • Affects Version/s: 3.0.0
    • Component/s: Async
    • None

      NettyByteBuf's implementation of ByteBuf.duplicate does not handle reference counts properly. It assumes that the proxied Netty ByteBuf instance increments its own reference count when it's duplicated, but that's not the case.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: