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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: