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

[GSS](8.1.z) UNDERTOW-2289 - limit the SavedRequest's buffer allocation to the request length if known

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • 8.1.z.GA
    • 8.1.0.GA
    • Undertow
    • None

      SavedRequest eagerly allocates the data buffer to the configured max. That can allow for unnecessary garbage allocation to heap for small content length POSTs, particularly if max-buffered-request-size is increased.

      It'd be best to size the buffer to the request content length if known.

              flaviarnn Flavia Rainone
              rhn-support-aogburn Aaron Ogburn
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: