Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1712

HttpContinueReadHandler can use a single ResponseCommitListener instance

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Minor Minor
    • 2.2.0.Final
    • 2.1.1.Final
    • None
    • None

      Minor optimization I noticed reading through commits since the last release, not likely to have a great deal of real world impact. Most undertow code attempts to reuse listener and wrapper instances where possible, avoiding per-request overhead.

      I would propose a private enum singleton in this case instead of a new object for each invocation.

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

              Created:
              Updated:
              Resolved: