zentol commented on code in PR #24856:
URL: https://github.com/apache/flink/pull/24856#discussion_r1617133714
##########
flink-runtime/src/main/java/org/apache/flink/runtime/rest/FileUploadHandler.java:
##########
@@ -151,6 +165,17 @@ protected void channelRead0(final ChannelHandlerContext
ctx, final HttpObject ms
&& hasNext(currentHttpPostRequestDecoder)) {
final InterfaceHttpData data =
currentHttpPostRequestDecoder.next();
if (data.getHttpDataType() ==
InterfaceHttpData.HttpDataType.FileUpload) {
+ HttpRequest httpRequest = currentHttpRequest;
+ if
(!multipartRoutes.isFileUploadRoute(httpRequest.uri())) {
Review Comment:
sweet 👍
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]