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

closing an UndertowOutputStream after writing to a broken connection results in an IOException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.1.2.Final, 1.2.0.Beta7
    • 1.1.0.Final
    • None
    • None

      Writing to a chunked UndertowOutputStream when the client as disconnected results in an expected IOException: "Broken pipe". Closing the stream throws another IOException: "UT000029: Channel was closed mid chunk, if you have attempted to write chunked data you cannot shutdown the channel until after it has all been written.", which isn't useful at that point, since the data can't ever be written.

      See: http://lists.jboss.org/pipermail/undertow-dev/2015-January/001094.html

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              tcrawley Toby Crawley (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: