Skip to content

Commit bf56bd4

Browse files
committed
Ref #36652: fix upload after spring update
1 parent bec2710 commit bf56bd4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main/java/eu/openanalytics/containerproxy/ContainerProxyApplication.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ public static Properties getDefaultProperties() {
158158
// disable multi-part handling by Spring. We don't need this anywhere in the application.
159159
// When enabled this will cause problems when proxying file-uploads to the shiny apps.
160160
properties.put("spring.servlet.multipart.enabled", "false");
161+
properties.put("server.undertow.max-http-post-size", "-1");
161162

162163
// disable logging of requests, since this reads part of the requests and therefore undertow is unable to correctly handle those requests
163164
properties.put("logging.level.org.springframework.web.servlet.DispatcherServlet", "INFO");

0 commit comments

Comments
 (0)