Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-cloud-netflix
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-cloud-netflix
Commits
1090f281
Commit
1090f281
authored
Nov 24, 2015
by
Spencer Gibb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upgrade zuul to v1.1.0
fixes gh-591
parent
d23a57d1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
pom.xml
pom.xml
+1
-1
SendResponseFilter.java
...k/cloud/netflix/zuul/filters/post/SendResponseFilter.java
+2
-2
No files found.
pom.xml
View file @
1090f281
...
...
@@ -31,7 +31,7 @@
<hystrix.version>
1.4.20
</hystrix.version>
<ribbon.version>
2.1.0
</ribbon.version>
<servo.version>
0.10.0
</servo.version>
<zuul.version>
1.1.0
-rc.1
</zuul.version>
<zuul.version>
1.1.0
</zuul.version>
<rxjava.version>
1.0.14
</rxjava.version>
<java.version>
1.7
</java.version>
<turbine.version>
1.0.0
</turbine.version>
...
...
spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/zuul/filters/post/SendResponseFilter.java
View file @
1090f281
...
...
@@ -184,12 +184,12 @@ public class SendResponseFilter extends ZuulFilter {
}
}
RequestContext
ctx
=
RequestContext
.
getCurrentContext
();
Integer
contentLength
=
ctx
.
getOriginContentLength
();
Long
contentLength
=
ctx
.
getOriginContentLength
();
// Only inserts Content-Length if origin provides it and origin response is not
// gzipped
if
(
SET_CONTENT_LENGTH
.
get
())
{
if
(
contentLength
!=
null
&&
!
ctx
.
getResponseGZipped
())
{
servletResponse
.
setContentLength
(
contentLength
);
servletResponse
.
setContentLength
(
contentLength
.
intValue
()
);
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment