We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0d984e commit 190a5f1Copy full SHA for 190a5f1
src/main/java/com/github/netty/protocol/servlet/ServletInputStreamWrapper.java
@@ -410,7 +410,9 @@ void abort() {
410
// 标记终止
411
this.abort = true;
412
// 如果数据没收完,记录终止线程的堆栈抛给前端
413
- this.abortException = isReceived() ? null : new IOException("Unexpected EOF read on the socket");
+ if (!isReceived()) {
414
+ this.abortException = new IOException("Unexpected EOF read on the socket");
415
+ }
416
close();
417
// 释放等待读body的线程
418
conditionSignalAll();
0 commit comments