Skip to content

Commit

Permalink
https://github.com/Netflix/zuul/issues/169
Browse files Browse the repository at this point in the history
  • Loading branch information
Chantal-Roth committed Oct 6, 2015
1 parent 16628f6 commit 8b23275
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -477,16 +477,16 @@ public void addOriginResponseHeader(String name, String value) {
*
* @return the content-length of the origin response
*/
public Integer getOriginContentLength() {
return (Integer) get("originContentLength");
public Long getOriginContentLength() {
return (Long) get("originContentLength");
}

/**
* sets the content-length from the origin response
*
* @param v
*/
public void setOriginContentLength(Integer v) {
public void setOriginContentLength(Long v) {
set("originContentLength", v);
}

Expand All @@ -497,7 +497,7 @@ public void setOriginContentLength(Integer v) {
*/
public void setOriginContentLength(String v) {
try {
final Integer i = Integer.valueOf(v);
final Long i = Long.valueOf(v);
set("originContentLength", i);
} catch (NumberFormatException e) {
LOG.warn("error parsing origin content length", e);
Expand Down

0 comments on commit 8b23275

Please sign in to comment.