MINA
  1. MINA
  2. DIRMINA-748

CachedBufferAllocator does not free buffers when maxCachedBufferSize=0

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-RC1
    • Fix Version/s: 2.0.0
    • Component/s: Core
    • Labels:
      None

      Description

      The CachedBufferAllocator created with maxCachedBufferSize=0 always allocates new buffers instead of reusing them.

        Activity

        Hide
        Emmanuel Lecharny added a comment -

        Closing issues

        Show
        Emmanuel Lecharny added a comment - Closing issues
        Hide
        Emmanuel Lecharny added a comment -

        Doh... What a bug !

        Thanks for the fix, it has been applied : http://svn.apache.org/viewvc?rev=899343&view=rev

        Show
        Emmanuel Lecharny added a comment - Doh... What a bug ! Thanks for the fix, it has been applied : http://svn.apache.org/viewvc?rev=899343&view=rev
        Hide
        matteodg added a comment -

        Patch file for fixing bug in core/src/main/java/org/apache/mina/core/buffer/CachedBufferAllocator.java

        Show
        matteodg added a comment - Patch file for fixing bug in core/src/main/java/org/apache/mina/core/buffer/CachedBufferAllocator.java

          People

          • Assignee:
            Unassigned
            Reporter:
            matteodg
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development