提交 32adf77b 编写于 作者: A Arjen Poutsma

Corrupt multipart should not hang SynchronossPartHttpMessageReader

This commit notifies the Synchronoss listener that the buffer stream
has ended.

See gh-23768
上级 1301c7e9
...@@ -262,6 +262,13 @@ public class SynchronossPartHttpMessageReader extends LoggingCodecSupport implem ...@@ -262,6 +262,13 @@ public class SynchronossPartHttpMessageReader extends LoggingCodecSupport implem
} }
} }
@Override
protected void hookOnComplete() {
if (this.listener != null) {
this.listener.onAllPartsFinished();
}
}
@Override @Override
protected void hookFinally(SignalType type) { protected void hookFinally(SignalType type) {
try { try {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册