BundledHttpServletRequestWrapper topReq = (BundledHttpServletRequestWrapper) this
.getReqThreadVariants().get(THREAD_V_REQUEST);
// If not any exception throwed and not dispatched, do flush buffer.
if (!exceptionThrowed && !topReq.isDispatched()) {
try {
topResp.flushBufferInternal();
} catch (Exception e) {
String msg = e.getMessage();
// If http socket reset by client, a IOException will be
// threw. Ignore it.
if (e instanceof IOException