[#1898] No call fireExceptionCaught but just fail the write promise
This commit is contained in:
parent
cd2eaebd92
commit
23998048b1
@ -239,17 +239,6 @@ public class ChunkedWriteHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
currentWrite.fail(t);
|
currentWrite.fail(t);
|
||||||
if (ctx.executor().inEventLoop()) {
|
|
||||||
ctx.fireExceptionCaught(t);
|
|
||||||
} else {
|
|
||||||
ctx.executor().execute(new Runnable() {
|
|
||||||
@Override
|
|
||||||
public void run() {
|
|
||||||
ctx.fireExceptionCaught(t);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
closeInput(chunks);
|
closeInput(chunks);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user