Corrupt multipart should not hang SynchronossPartHttpMessageReader

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

See gh-23768
This commit is contained in:
Arjen Poutsma
2019-11-07 09:42:36 +01:00
parent 1301c7e95d
commit 32adf77b22

View File

@@ -262,6 +262,13 @@ public class SynchronossPartHttpMessageReader extends LoggingCodecSupport implem
}
}
@Override
protected void hookOnComplete() {
if (this.listener != null) {
this.listener.onAllPartsFinished();
}
}
@Override
protected void hookFinally(SignalType type) {
try {