Commit d9efb0a8 by Sébastien Nussbaumer Committed by Spencer Gibb

Allow Content-Length header with values greater than 2 GB (#1320)

fixes gh-1319
parent 4f812559
......@@ -211,7 +211,7 @@ public class SendResponseFilter extends ZuulFilter {
// gzipped
if (SET_CONTENT_LENGTH.get()) {
if (contentLength != null && !ctx.getResponseGZipped()) {
servletResponse.setContentLength(contentLength.intValue());
servletResponse.setContentLengthLong(contentLength);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment