]
Stuart Douglas updated WFLY-9230:
---------------------------------
Component/s: Web (Undertow)
ServletPrintWriter.checkError does not flush
--------------------------------------------
Key: WFLY-9230
URL:
https://issues.jboss.org/browse/WFLY-9230
Project: WildFly
Issue Type: Bug
Components: Web (Undertow)
Affects Versions: 10.1.0.Final
Reporter: tony weston
Assignee: Stuart Douglas
Priority: Minor
io.undertow.servlet.spec.ServletPrintWriter.checkError() does not flush the stream.
according to JDK docs, printWriter.checkError() 'Flushes the stream if it's not
closed and checks its error state'. This bug discovered by accident when converting
a Payara to wildfly, which used checkError to flush the stream, and check errors.