Uploaded image for project: 'MINA'
  1. MINA
  2. DIRMINA-1018

fetchAppBuffer shrink

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.9
    • 2.0.10
    • SSL
    • None

    Description

      Recently an optimisation was added (DIRMINA-1017) which can increase the capacity of member SslHandler.appBuffer. Testing found that whenever the buffer was increased, it was increased to ~16000 bytes, where only ~4000 bytes of that frame was being used.

      Similar to how SslHandler.fetchOutNetBuffer() returns the outNetBuffer with:
      ...
      return answer.shrink();

      could I recommend the same is done for SslHandler.fetchAppBuffer()?

      ...
      return appBuffer.shrink();

      Thanks,
      Terence

      Attachments

        Activity

          People

            Unassigned Unassigned
            tezm Terence Marks
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified