Uploaded image for project: 'HttpComponents HttpCore'
  1. HttpComponents HttpCore
  2. HTTPCORE-368

Smarter use of buffers in SSLIOSession

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.3
    • 4.4-alpha1
    • HttpCore NIO

    Description

      We're using the async client to load test our comet infrastructure. We're frequently running in to OutOfMemoryErrors due to the ByteBuffers allocated in SSLIOSession.

      The following is a quick-and-dirty patch to SSLIOSession that removes the buffers when they aren't needed. Could we get this (or something similar to this) added in to httpcore-nio?

      Attachments

        1. SSLIOSession.patch
          11 kB
          offbynull
        2. SSLIOSession3.patch
          22 kB
          offbynull
        3. SSLIOSession4.patch
          22 kB
          offbynull
        4. SSLIOSession6.patch
          23 kB
          offbynull
        5. SSLIOSession7.patch
          25 kB
          offbynull

        Activity

          People

            Unassigned Unassigned
            offbynull offbynull
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: