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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 7.3.16.GA
    • 7.3.15.GA
    • Undertow
    • None

      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
              lyemelev Larysa Yemeleva
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: