Github user tillrohrmann commented on a diff in the pull request:
https://github.com/apache/flink/pull/6147#discussion_r195079921
--- Diff:
flink-runtime/src/main/java/org/apache/flink/runtime/rest/FileUploadHandler.java
---
@@ -89,7 +89,7 @@ protected void channelRead0(final ChannelHandlerContext
ctx, final HttpObject ms
final HttpContent httpContent = (HttpContent) msg;
currentHttpPostRequestDecoder.offer(httpContent);
- while (currentHttpPostRequestDecoder.hasNext()) {
--- End diff --
Could you create a test case which reproduces the problem? Running the
`JobSubmitHandlerTest` without this change did not reproduce the problem. I
would like to see whether it is indeed a Netty bug or if we are simply doing
something wrong which we cover up with this fix.
---