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

Incorrect use of CharsetEncoder in io.undertow.servlet.spec.ServletPrintWriter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.2.Final
    • None
    • Servlet
    • None

      The javadoc for java.nio.charset.CharsetEncoder describes an explicit process for it's use, which does not seem to be followed by io.undertow.servlet.spec.ServletPrintWriter.write(CharBuffer ).

      This may be contributing to the infinite loop problem that a user is experiencing on the user forums at Wildfly 8 Final - 100% cpu usage, no load, either due to Undertow's ServletPriterWriter or NIO CharsetEncoder.

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              sfcoy Stephen Coy (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: