Uploaded image for project: 'Undertow'
  1. Undertow
  2. 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.

              flaviarnn Flavia Rainone
              flaviarnn Flavia Rainone
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: