title: Spring Cloud Netflix Zuul large file upload
body: <p>I'm using Spring Boot for a project and i'm trying to upload large files but somehow it doesnt work.</p>
  
  <p>I have Spring Boot + Zuul (@EnableZuulProxy) running on port 8080 and then another microservice (Lets call it datastore) that should handle the upload.</p>
  
  <p>I post a multipart request to <a href="http://localhost:8080/zuul/my/upload/endpoint" rel="nofollow noreferrer">http://localhost:8080/zuul/my/upload/endpoint</a> which contains a file and a text string.</p>
  
  <p>When I upload a file of 100MB everything works fine. Zuul passes the request to the datastore and the request comes in and is stored. 
  But when I try to upload a larger file (150MB) Zuul processes the request and passes it to the datastore but then somewhere one of the multipart parameters is stripped from the request and then the datastore error returns a 400 and says 'Required request part 'string' is not present'.</p>
  
  <p>I have the following configuration in both microservice (zuul and datastore)</p>
  
  <pre><code>spring:
    servlet:
      multipart:
        max-file-size: 1000MB
        max-request-size: 1000MB
  </code></pre>
  
  <p>Does anyone have any idea how to solve this? I've tried adding the CommonsMultipartResolver but that didn't change anything.</p>