Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-28287

(8.0.z) UNDERTOW-2457 - Bytes may get lost across ProxyProtocolReadListener parsing invocations for v1

XMLWordPrintable

      As part of UNDERTOW-2429 we are using a new string builder at every new handleEvent invocation.
      But, because every byte is copied to the builder, we might end up getting multiple invocations of handleEvent for a single request. This means we could be losing bytes because we are no longer sharing the string builder. To prevent that, we need to share a StringBuilder across multiple invocations, while still preventing data from previous requests to leak inadvertently.

            rhn-cservice-bbaranow Bartosz Baranowski
            rhn-engineering-lgao Lin Gao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: